From 398e29344ecc43548a7d3998bb5d2fcee62d66cd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 25 Dec 2015 11:48:27 +0000 Subject: view: favor whitespace wrap in If we bite the bullet and rely on inline CSS, we might as well only specify it once per page instead of inline in every
tag which may handle UGC.  So this actually saves us a small
amount of bandwith on most pages which have multiple 
start tags.
---
 lib/PublicInbox/Hval.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'lib/PublicInbox/Hval.pm')

diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm
index e0b85c68..5a869358 100644
--- a/lib/PublicInbox/Hval.pm
+++ b/lib/PublicInbox/Hval.pm
@@ -13,7 +13,8 @@ use PublicInbox::MID qw/mid_clean/;
 # for user-generated content (UGC) which may have excessively long lines
 # and screw up rendering on some browsers.  This is the only CSS style
 # feature we use.
-use constant PRE => "";
+use constant STYLE => '';
+use constant PRE => ""; # legacy
 
 my $enc_ascii = find_encoding('us-ascii');
 
-- 
cgit v1.2.3-24-ge0c7