about summary refs log tree commit homepage
path: root/lib/PublicInbox/Hval.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-09 09:45:21 +0000
committerEric Wong <e@80x24.org>2016-01-09 09:46:39 +0000
commitb1ea344564ed1b1cd48a4530155e16abee0a9863 (patch)
treeb23ef8861343910f111cd8fc5e37fea3bc9924ff /lib/PublicInbox/Hval.pm
parent0bcf715b7ef1e51bf05eeb46b066be8a762e13aa (diff)
downloadpublic-inbox-b1ea344564ed1b1cd48a4530155e16abee0a9863.tar.gz
We should be able to use this for ASCII art and paragraphs
Diffstat (limited to 'lib/PublicInbox/Hval.pm')
-rw-r--r--lib/PublicInbox/Hval.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm
index 5a869358..d295f5ce 100644
--- a/lib/PublicInbox/Hval.pm
+++ b/lib/PublicInbox/Hval.pm
@@ -21,8 +21,7 @@ my $enc_ascii = find_encoding('us-ascii');
 sub new {
         my ($class, $raw, $href) = @_;
 
-        # we never care about leading/trailing whitespace
-        $raw =~ s/\A\s*//;
+        # we never care about trailing whitespace
         $raw =~ s/\s*\z//;
         bless {
                 raw => $raw,