about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-15 20:58:50 +0000
committerEric Wong <e@80x24.org>2015-12-22 00:58:06 +0000
commite00a6f63ef80f3540a159ef4fdc4bba359dc5596 (patch)
tree3e84daeddd3a216c1c4a4f46d4ffa736c843583f /lib/PublicInbox/Feed.pm
parent3273b47d02dd353cd2efe1cd0bdeca1334e3942e (diff)
downloadpublic-inbox-e00a6f63ef80f3540a159ef4fdc4bba359dc5596.tar.gz
User-generated content (UGC) may have excessively long lines
which screw up rendering.  This is the only bit of CSS we use.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 1201dd11..68f1e67b 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -134,9 +134,9 @@ sub emit_html_index {
                           qq{ <input\nname=q\ntype=text />} .
                           qq{<input\ntype=submit\nvalue=search />} .
                           qq{</tt></form>} .
-                          PublicInbox::View::PRE_WRAP;
+                          PublicInbox::Hval::PRE;
         } else {
-                $top = PublicInbox::View::PRE_WRAP . $top . "\n";
+                $top = PublicInbox::Hval::PRE . $top . "\n";
         }
 
         $fh->write("<html><head><title>$title</title>" .