X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ae15b9a0775cb28e760460a3ae4de20d43c3cb5d..b293ff8ad52fc76ba0c44783e3982418114d6b08:/templates/webpages/email_journal/show.html diff --git a/templates/webpages/email_journal/show.html b/templates/webpages/email_journal/show.html index 20444a9c8..b484bc76c 100644 --- a/templates/webpages/email_journal/show.html +++ b/templates/webpages/email_journal/show.html @@ -1,4 +1,4 @@ -[% USE HTML %][% USE L %][% USE LxERP %] +[% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%]

[% FORM.title %]

@@ -49,7 +49,13 @@ [%- LxERP.t8("Body") %] -
[% HTML.escape(SELF.entry.body) %]
+ + [%- IF SELF.entry.headers.match('(?i)content-type:.*text/html') %] + [% P.restricted_html(SELF.entry.body) %] + [%- ELSE %] +
[% HTML.escape(SELF.entry.body) %]
+ [%- END %] +