about summary refs log tree commit homepage
path: root/lib/PublicInbox/Hval.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-03-12 06:42:04 +0000
committerEric Wong <e@80x24.org>2016-03-12 06:49:52 +0000
commit476fc666c223f0fbe98ee1f66f7e282abf8adb56 (patch)
treeaa1c5e4afff648f22906a6fc0a0beb365194f967 /lib/PublicInbox/Hval.pm
parent7dd78012da81d48e5e73e56c3255895dfa9de1f5 (diff)
downloadpublic-inbox-476fc666c223f0fbe98ee1f66f7e282abf8adb56.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox/Hval.pm')
-rw-r--r--lib/PublicInbox/Hval.pm2
1 files changed, 2 insertions, 0 deletions
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