Fixed 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.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.8).

Change log:
Support HTML for the summary_of_what_you_missed_recently phrase in the activity_summary email template
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom