Phrase says HTML is allowed but it displays code

beerForo

Well-known member
Affected version
2.2.11
"You may use HTML here, but ideally markup should be made in templates, rather than phrases."

Not true for:

summary_of_what_you_missed_recently

The HTML code is displayed in the email and none is rendered. Bold, line break, etc.

It DOES work in this phrase so it should be possible: activity_summary_email_unsubscribe

Same email for both phrases.
 
Last edited:
Is this on the radar to be fixed? I have my What You Missed emails paused and this is from 2023. Thanks
 
Last edited:
E-Mail Template activity_summary

Replacing
Code:
arg-title="{{ phrase('summary_of_what_you_missed_recently') }}
with
Code:
arg-title="{{ phrase('summary_of_what_you_missed_recently')|preescaped }}
should fix this.
 
Back
Top Bottom