X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Femail_journal%2Fshow.html;h=b484bc76c467aee060d21d81cb83b5385a1bdd06;hb=2bc2e21bb970197e0b4151d19648e7bb5ce21b18;hp=20444a9c8fbbdbd3152bc49dea5a5075645c6490;hpb=ae15b9a0775cb28e760460a3ae4de20d43c3cb5d;p=kivitendo-erp.git 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 %] +