X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/dd29640e817a6a371960fc73d12e75db8626f2ee..47ac0123a276b130162a20175bb540830860e25c:/Resources/views/mail/recover_mail.html.twig?ds=inline

diff --git a/Resources/views/mail/recover_mail.html.twig b/Resources/views/mail/recover_mail.html.twig
index 0cfc299..3bdcb90 100644
--- a/Resources/views/mail/recover_mail.html.twig
+++ b/Resources/views/mail/recover_mail.html.twig
@@ -5,10 +5,10 @@
 		<tr>
 			<td>&nbsp;</td>
 			<td>
-				<h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site_title%'|trans({'%site_title%': site_title|trans})}) }}</h2>
-				<p>{{ 'Thanks so much for rejoining %site_title%, the space reservation program.'|trans({'%site_title%': site_title|trans}) }}</p>
-				<p>{% trans %}Your account password has been changed, to recover your account you can follow this link: {% endtrans %}</p>
-				<p><a href="{{ recover_url }}">{{ recover_url }}</a></p>
+				<h2>{{ 'Subject: %subject%'|trans({'%subject%': 'welcome back to %site.title%'|trans({'%site.title%': site.title})|raw}) }}</h2>
+				<p>{{ 'Thanks so much for rejoining %site.title%, the space reservation program.'|trans({'%site.title%': site.title}) }}</p>
+				<p>{{ 'Your account password has been changed, to recover your account you can follow this link: '|trans }}</p>
+				<p><a href="{{ recover_url|escape('html_attr') }}">{{ recover_url }}</a></p>
 			</td>
 			<td>&nbsp;</td>
 		</tr>