X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/50d4f324ff5f4badabae0a178ca7b01f46defdd9..b212660f7fcf48a2b554cf57e6c81560799d3993:/Resources/views/mail/recover.html.twig?ds=sidebyside

diff --git a/Resources/views/mail/recover.html.twig b/Resources/views/mail/recover.html.twig
index d7ed809..4f9d00d 100644
--- a/Resources/views/mail/recover.html.twig
+++ b/Resources/views/mail/recover.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 %}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>{{ '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>