diff --git a/infrastructure/web/views/mail.twig b/infrastructure/web/views/mail.twig index 69dc3c6..6ec33f3 100644 --- a/infrastructure/web/views/mail.twig +++ b/infrastructure/web/views/mail.twig @@ -18,6 +18,14 @@ {% if mail.html %}
+ + {# TODO: + Find a better solution for this monstrocity. + Replaces clean html tag with styled one for readabbility. + Realistically, the entire iFrame or even website itself might be vulnerable. + srcdoc='html' seems like a very, very unsafe method to me, unfortunately I havent found a better solution. + #} +
{% elseif mail.textAsHtml %}