From e00a6f63ef80f3540a159ef4fdc4bba359dc5596 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 15 Dec 2015 20:58:50 +0000 Subject: hval: move PRE constant for wrapping UGC here User-generated content (UGC) may have excessively long lines which screw up rendering. This is the only bit of CSS we use. --- lib/PublicInbox/Feed.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/Feed.pm') 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{ } . qq{} . qq{} . - PublicInbox::View::PRE_WRAP; + PublicInbox::Hval::PRE; } else { - $top = PublicInbox::View::PRE_WRAP . $top . "\n"; + $top = PublicInbox::Hval::PRE . $top . "\n"; } $fh->write("$title" . -- cgit v1.2.3-24-ge0c7