From: Marcel Werk Date: Mon, 22 Jul 2013 13:48:59 +0000 (+0200) Subject: Fixed encoding issues X-Git-Tag: 2.0.0_Beta_2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b9a805835a3808205b66ab1931f45e091121c9f;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Fixed encoding issues --- diff --git a/templates/legalNotice.tpl b/templates/legalNotice.tpl index c476101..e98f8f6 100644 --- a/templates/legalNotice.tpl +++ b/templates/legalNotice.tpl @@ -26,7 +26,7 @@
{if LEGAL_NOTICE_ADDRESS}
{lang}wcf.legalNotice.address{/lang}
-
{@LEGAL_NOTICE_ADDRESS|language|htmlspecialchars|nl2br}
+
{@LEGAL_NOTICE_ADDRESS|language|newlineToBreak}
{/if} {if $encodedEmailAddress} @@ -68,7 +68,7 @@ {lang}wcf.legalNotice.additionalText{/lang}
- {if LEGAL_NOTICE_ADDITIONAL_TEXT_ENABLE_HTML}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language}{else}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language|htmlspecialchars|nl2br}{/if} + {if LEGAL_NOTICE_ADDITIONAL_TEXT_ENABLE_HTML}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language}{else}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language|newlineToBreak}{/if}
{event name='additionalTextFields'}