From 1229bb6a838e96eb52be7aa1cac8d692746bc783 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Thu, 17 Aug 2023 11:36:55 +0200 Subject: convert to bulma css framework --- lib/JWebmail/View/RenderMail.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/JWebmail/View/RenderMail.pm') diff --git a/lib/JWebmail/View/RenderMail.pm b/lib/JWebmail/View/RenderMail.pm index 90534dc..387e586 100644 --- a/lib/JWebmail/View/RenderMail.pm +++ b/lib/JWebmail/View/RenderMail.pm @@ -112,7 +112,7 @@ sub render_message { warn "unkown mime-subtype $subtype" unless $subtype eq 'rfc822'; - my $R .= '
'; + my $R .= '
'; $R .= '
'; $R .= '
' . xml_escape(uc $self->c->l('subject')) . '
'; @@ -127,8 +127,6 @@ sub render_message { $R .= '
' . to_mime_type($msg->{head}{mime}) . "
\n"; $R .= "
\n"; - #my $content = ref $msg->{body} && exists $msg->{body}{parts} ? $msg->{body}{parts} : $msg->{body}; - $R .= $self->mime_render(to_mime_types($msg->{head}{mime}), $msg->{body}, [@$path, 0]); return $R . "
\n"; @@ -149,7 +147,7 @@ sub mime_render { my $renderer = $MIME_Render_Subs{"$maintype/$subtype"} || $MIME_Render_Subs{$maintype}; unless ($renderer) { - return "

Unsupported MIME type of $maintype/$subtype.

\n"; + return qq(

Unsupported MIME type of $maintype/$subtype.

\n); } return $renderer->($self, $subtype, $content, $path); -- cgit v1.2.3