From 476fc666c223f0fbe98ee1f66f7e282abf8adb56 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 12 Mar 2016 06:42:04 +0000 Subject: reduce "PublicInbox::Hval->new_oneline" use It's probably a bad idea to strip extraneous whitespace from some headers as an extra space may convey useful information. Newlines don't seem to be preserved by Email::MIME or Email::Simple anyways, so there's no danger in breaking formatting. --- lib/PublicInbox/Hval.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/PublicInbox/Hval.pm') diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm index a455884f..70bae7c6 100644 --- a/lib/PublicInbox/Hval.pm +++ b/lib/PublicInbox/Hval.pm @@ -9,6 +9,8 @@ use warnings; use Encode qw(find_encoding); use URI::Escape qw(uri_escape_utf8); use PublicInbox::MID qw/mid_clean/; +use base qw/Exporter/; +our @EXPORT_OK = qw/ascii_html/; # for user-generated content (UGC) which may have excessively long lines # and screw up rendering on some browsers. This is the only CSS style -- cgit v1.2.3-24-ge0c7