Menu

#1184 Fix line breaks in online man pages

v1.3.7
open
nobody
None
5
2020-05-15
2020-05-15
Joey
No

All the example sections of the man pages available on the public website have a line break problem. See this page for example, there is no line break, everything is displayed as an unreadable block of text:

http://fluxbox.org/help/man-fluxbox-apps.php

. Upon investigation, this only requires a simple css fix: all that is needed is creating a rule for the "code" tag and setting the property "white-space: break-spaces" in it. This needs to be added to the file fluxbox_org.css at line 109, to make this section look like:

pre {
font-family: 'Courier New',Courier,monospace;
font-size: 12px;
color: #3D3C8E;
}

code {
white-space: break-spaces;
}

This should fix the example sections of all man pages at once.

Discussion


Log in to post a comment.