diff --git a/com.woltlab.wcf/templates/emailActivation.tpl b/com.woltlab.wcf/templates/emailActivation.tpl
index 400d73dc7c7..9cf04d23d08 100644
--- a/com.woltlab.wcf/templates/emailActivation.tpl
+++ b/com.woltlab.wcf/templates/emailActivation.tpl
@@ -1,5 +1,5 @@
{include file='authFlowHeader'}
-{@$form->getHtml()}
+{unsafe:$form->getHtml()}
{include file='authFlowFooter'}
diff --git a/com.woltlab.wcf/templates/emailNewActivationCode.tpl b/com.woltlab.wcf/templates/emailNewActivationCode.tpl
index 400d73dc7c7..9cf04d23d08 100644
--- a/com.woltlab.wcf/templates/emailNewActivationCode.tpl
+++ b/com.woltlab.wcf/templates/emailNewActivationCode.tpl
@@ -1,5 +1,5 @@
{include file='authFlowHeader'}
-{@$form->getHtml()}
+{unsafe:$form->getHtml()}
{include file='authFlowFooter'}
diff --git a/com.woltlab.wcf/templates/email_changeEmailNeedReactivation.tpl b/com.woltlab.wcf/templates/email_changeEmailNeedReactivation.tpl
index 2426d506ff8..850b01af431 100644
--- a/com.woltlab.wcf/templates/email_changeEmailNeedReactivation.tpl
+++ b/com.woltlab.wcf/templates/email_changeEmailNeedReactivation.tpl
@@ -7,7 +7,7 @@
{lang}wcf.user.changeEmail.needReactivation.mail.html.intro{/lang}
{capture assign=button}
-
+
{lang}wcf.user.changeEmail.needReactivation.mail.html.activate{/lang}
{/capture}
diff --git a/com.woltlab.wcf/templates/email_dailyNotification.tpl b/com.woltlab.wcf/templates/email_dailyNotification.tpl
index 4c42bc1e697..d14e19a6363 100644
--- a/com.woltlab.wcf/templates/email_dailyNotification.tpl
+++ b/com.woltlab.wcf/templates/email_dailyNotification.tpl
@@ -13,7 +13,7 @@
{assign var='notificationContent' value=$notification[notificationContent]}
{assign var='notificationType' value=$notification[notificationType]}
{if $notificationContent|is_array}{if !$notificationContent[variables]|empty}{foreach from=$notificationContent[variables] key='__key' item='__item'}{assign var=$__key value=$__item}{/foreach}{/if}{include file=$notificationContent[template] application=$notificationContent[application] variables=$notificationContent[variables]}{*
-*}{else}{@$notificationContent}{/if}
+*}{else}{unsafe:$notificationContent}{/if}
{/implode}
---------------
@@ -38,7 +38,7 @@
{include file=$notificationContent[template] application=$notificationContent[application] variables=$notificationContent[variables]}
{else}
- {@$notificationContent}
+ {unsafe:$notificationContent}
{/if}
{/foreach}
diff --git a/com.woltlab.wcf/templates/email_html.tpl b/com.woltlab.wcf/templates/email_html.tpl
index 6ddc2de771c..d818a27571e 100644
--- a/com.woltlab.wcf/templates/email_html.tpl
+++ b/com.woltlab.wcf/templates/email_html.tpl
@@ -14,7 +14,7 @@
}
body, body * {
- font-family: {@$style->getEmailFontFamily()};
+ font-family: {unsafe:$style->getEmailFontFamily()};
font-size: {$style->getVariable('wcfFontSizeDefault')};
}
@@ -148,20 +148,20 @@
{/capture}
{include file='email_paddingHelper' block=true class='header' content=$header sandbox=true}
- {if $beforeContent|isset}{@$beforeContent}{/if}
+ {if $beforeContent|isset}{unsafe:$beforeContent}{/if}
{include file='email_paddingHelper' block=true class='content' content=$content sandbox=true}
- {if $afterContent|isset}{@$afterContent}{/if}
+ {if $afterContent|isset}{unsafe:$afterContent}{/if}
{capture assign='footer'}
{hascontent}
--
{content}
{if MAIL_SIGNATURE_HTML|phrase}
- {@MAIL_SIGNATURE_HTML|phrase}
+ {unsafe:MAIL_SIGNATURE_HTML|phrase}
{else}
- {@MAIL_SIGNATURE|phrase|newlineToBreak}
+ {unsafe:MAIL_SIGNATURE|phrase|newlineToBreak}
{/if}
{/content}{/hascontent}{/capture}
{include file='email_paddingHelper' block=true class='footer' content=$footer sandbox=true}
diff --git a/com.woltlab.wcf/templates/email_lostPassword.tpl b/com.woltlab.wcf/templates/email_lostPassword.tpl
index 49d1228fd14..e8aba2978ef 100644
--- a/com.woltlab.wcf/templates/email_lostPassword.tpl
+++ b/com.woltlab.wcf/templates/email_lostPassword.tpl
@@ -7,7 +7,7 @@
{lang}wcf.user.lostPassword.mail.html.intro{/lang}
{capture assign=button}
-
+
{lang}wcf.user.lostPassword.mail.html.reset{/lang}
{/capture}
diff --git a/com.woltlab.wcf/templates/email_notification.tpl b/com.woltlab.wcf/templates/email_notification.tpl
index 2cacef03c05..df84253d903 100644
--- a/com.woltlab.wcf/templates/email_notification.tpl
+++ b/com.woltlab.wcf/templates/email_notification.tpl
@@ -3,7 +3,7 @@
{lang}wcf.user.notification.mail.plaintext.intro{/lang}
{if $notificationContent|is_array}{include file=$notificationContent[template] application=$notificationContent[application]}{*
-*}{else}{@$notificationContent}{/if}
+*}{else}{unsafe:$notificationContent}{/if}
{lang}wcf.user.notification.mail.plaintext.outro{/lang}
{/capture}
@@ -15,7 +15,7 @@
{if $notificationContent|is_array}
{include file=$notificationContent[template] application=$notificationContent[application]}
{else}
- {@$notificationContent}
+ {unsafe:$notificationContent}
{/if}
{capture assign=button}
diff --git a/com.woltlab.wcf/templates/email_notification_article.tpl b/com.woltlab.wcf/templates/email_notification_article.tpl
index f09403dcc44..d1a508c1929 100644
--- a/com.woltlab.wcf/templates/email_notification_article.tpl
+++ b/com.woltlab.wcf/templates/email_notification_article.tpl
@@ -1,9 +1,9 @@
{if $mimeType === 'text/plain'}
-{lang}{@$languageVariablePrefix}.mail.plaintext{/lang}
+{lang}{$languageVariablePrefix}.mail.plaintext{/lang}
-{@$articleContent->getMailText($mimeType)} {* this line ends with a space *}
+{unsafe:$articleContent->getMailText($mimeType)} {* this line ends with a space *}
{else}
- {lang}{@$languageVariablePrefix}.mail.html{/lang}
+ {lang}{$languageVariablePrefix}.mail.html{/lang}
{assign var='user' value=$event->getAuthor()}
{assign var='article' value=$event->getUserNotificationObject()}
@@ -12,7 +12,7 @@
{capture assign='articleContent'}
| {@$user->getAvatar()->getSafeImageTag($avatarSize)} | +{unsafe:$user->getAvatar()->getSafeImageTag($avatarSize)} |
@@ -26,7 +26,7 @@
- {@$articleContent->getMailText($mimeType)}
+ {unsafe:$articleContent->getMailText($mimeType)}
|
| {@$user->getAvatar()->getSafeImageTag($avatarSize)} | + title="{$user->username}">{unsafe:$user->getAvatar()->getSafeImageTag($avatarSize)}
@@ -29,7 +29,7 @@
- {@$moderationQueue->getMailText($mimeType)}
+ {unsafe:$moderationQueue->getMailText($mimeType)}
|
| - {@$content} + {unsafe:$content} |