]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: show raw message link as "raw"
authorEric Wong <e@80x24.org>
Sun, 26 Oct 2014 09:45:52 +0000 (09:45 +0000)
committerEric Wong <e@80x24.org>
Sun, 26 Oct 2014 09:47:33 +0000 (09:47 +0000)
"original" is a bit misleading, since we strip needless junk
like HTML from messages before it ever hits git.

lib/PublicInbox/View.pm

index 9974cfa1dab42641e24c84998caf3e8fd63c2130..2e70d25ad083aeb7e18fcdcfc10bb6b6e375a05d 100644 (file)
@@ -286,7 +286,7 @@ sub headers_to_html_header {
                $rv .= 'Message-ID: &lt;' . $mid->as_html . '&gt; ';
                my $href = $mid->as_href;
                $href = "../m/$href" unless $full_pfx;
-               $rv .= "(<a\nhref=\"$href.txt\">original</a>)\n";
+               $rv .= "(<a\nhref=\"$href.txt\">raw</a>)\n";
        }
 
        my $irp = $header_obj->header_raw('In-Reply-To');