diff options
author | Eric Wong <e@80x24.org> | 2014-05-02 23:16:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-05-02 23:16:37 +0000 |
commit | a1331e538ed8fff6e9554de553a2869954f54167 (patch) | |
tree | 7a255c7119bc6f7a775e441ba33f5387fd92441d /lib/PublicInbox/WWW.pm | |
parent | 63ede74cfe5817642a4211419ae2bd3838260237 (diff) | |
download | public-inbox-a1331e538ed8fff6e9554de553a2869954f54167.tar.gz |
These views are not OO, so the "as_" prefix makes little sense and "as_html" conflicts with Hval, which is OO.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 4dbfe47d..898f42a8 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -166,7 +166,7 @@ sub get_mid_html { my $pfx = "../f/$mid_href.html"; require Email::MIME; [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ], - [ PublicInbox::View->as_html(Email::MIME->new($x), $pfx) ] ]; + [ PublicInbox::View->msg_html(Email::MIME->new($x), $pfx) ] ]; } # /$LISTNAME/f/$MESSAGE_ID.html -> HTML content (fullquotes) @@ -177,7 +177,7 @@ sub get_full_html { require PublicInbox::View; require Email::MIME; [ 200, [ 'Content-Type' => 'text/html' ], - [ PublicInbox::View->as_html(Email::MIME->new($x))] ]; + [ PublicInbox::View->msg_html(Email::MIME->new($x))] ]; } sub self_url { |