Package: bugs.debian.org
Severity: wishlist

bugs.debian.org displays the contents of messages as preformatted text. A new 
line only shows if the message contains a newline, as exemplified here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747264#5
Consequently, many will prefer having manual newlines in the messages they 
send, to prevent readers from having to scroll horizontally: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747264#10
I have even seen several contributors requesting others to behave the same (as 
the previous message also exemplifies).

A more efficient solution would be to have bugs.debian.org deal with line-wrapping. 
Unfortunately HTML alters the display of newlines by default, which would be very bad for 
bugs.debian.org and which is why it uses <pre> tags rather <p>. A couple of 
solutions are possible:
Use p but convert messages to use <br> rather than raw newlines.
Use pre but automatically insert newlines everytime a line would be "long". This has the 
same drawback as people manually breaking their messages. We don't know what will be 
"long" for the browser.

A cheaper solution in terms of processing would be to use line-wrapping CSS. 
See for example http://longren.io/wrapping-text-inside-pre-tags/
Having this work with all browsers may be non-trivial currently, but addressing 
the issue for most browsers should not. white-space: pre-wrap is all my 
Iceweasel needs, and is all I'd need to happy.

--
Filipus Klutiero
http://www.philippecloutier.com


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to