diff options
author | Eric Wong <e@80x24.org> | 2015-12-15 20:58:50 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-22 00:58:06 +0000 |
commit | e00a6f63ef80f3540a159ef4fdc4bba359dc5596 (patch) | |
tree | 3e84daeddd3a216c1c4a4f46d4ffa736c843583f /lib/PublicInbox/SearchView.pm | |
parent | 3273b47d02dd353cd2efe1cd0bdeca1334e3942e (diff) | |
download | public-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/SearchView.pm')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 7f790902..ea8a45a4 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -31,7 +31,7 @@ sub sres_top_html { $total = $mset->get_matches_estimated; }; my $err = $@; - my $res = html_start($q, $ctx) . PublicInbox::View::PRE_WRAP; + my $res = html_start($q, $ctx) . PublicInbox::Hval::PRE; if ($err) { $code = 400; $res .= err_txt($err) . "</pre><hr /><pre>" . foot($ctx); |