X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d4925a8b60f04674885e30d9316dc0263f8b9a84..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 %] +