lib/PublicInbox/View.pm | 10 ++++------ diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 4ac28346c81ef52c8971f0f263466a9d56918f46..18ba36a85ba68e9e5fc061ce5a7f4c0be678facd 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -8,13 +8,13 @@ use CGI qw/escapeHTML/; use Encode qw/decode encode/; use Encode::MIME::Header; -# only one public function: +# public functions: sub as_html { my ($class, $mime, $full_pfx) = @_; headers_to_html_header($mime) . multipart_text_as_html($mime, $full_pfx) . - "\n"; + ''; } sub as_feed_entry { @@ -150,10 +150,8 @@ $rv .= "In-Reply-To: $html\n"; } $rv .= "\n"; - return ("". - join(' - ', @title) . - '
' .
-		$rv);
+	("".  join(' - ', @title) .
+	 '
' .  $rv);
 }
 
 1;