r9246 - /scripts/qa/qareport-chlog.cgi

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Nov 12 21:40:12 UTC 2007


Author: dmn
Date: Mon Nov 12 21:40:12 2007
New Revision: 9246

URL: http://svn.debian.org/wsvn/?sc=1&rev=9246
Log:
instead of <div>, use <code> to get white-space preserving and fixed-width font

Modified:
    scripts/qa/qareport-chlog.cgi

Modified: scripts/qa/qareport-chlog.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport-chlog.cgi?rev=9246&op=diff
==============================================================================
--- scripts/qa/qareport-chlog.cgi (original)
+++ scripts/qa/qareport-chlog.cgi Mon Nov 12 21:40:12 2007
@@ -107,9 +107,9 @@
 $text =~ s/'/&quot;/g;
 $text =~ s/</&lt;/g;
 $text =~ s/>/&gt;/g;
-$text =~ s{\r?\n}{<br/>}g;
+#$text =~ s{\r?\n}{<br/>}g;
 
-print qq(<div style="white-space: pre">$text;</div>);
+print qq(<code>$text</code>);
 
 exit 0;
 




More information about the Pkg-perl-cvs-commits mailing list