Fixed encoding issues
authorMarcel Werk <burntime@woltlab.com>
Mon, 22 Jul 2013 13:48:59 +0000 (15:48 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 22 Jul 2013 13:48:59 +0000 (15:48 +0200)
templates/legalNotice.tpl

index c47610177a297775e624d6b0985aea80b1d7cfd3..e98f8f650cdc7d3bdd529b7c282bd88f9cc439dc 100644 (file)
@@ -26,7 +26,7 @@
                <dl>
                        {if LEGAL_NOTICE_ADDRESS}
                                <dt>{lang}wcf.legalNotice.address{/lang}</dt>
-                               <dd>{@LEGAL_NOTICE_ADDRESS|language|htmlspecialchars|nl2br}</dd>
+                               <dd>{@LEGAL_NOTICE_ADDRESS|language|newlineToBreak}</dd>
                        {/if}
                        
                        {if $encodedEmailAddress}
@@ -68,7 +68,7 @@
                        <legend>{lang}wcf.legalNotice.additionalText{/lang}</legend>
                
                        <div class="htmlContent">
-                               {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}
                        </div>
                        
                        {event name='additionalTextFields'}