Forum Discussion

kretzm's avatar
kretzm
Guide
10 years ago

unescapeHTML in e-mail template subject line

Hi all,

 

I'm trying to decode some HTML entities out of the subject line for our e-mail templates. We're seeing subject lines (specifically the General Subscription Notification template) with entities such as "" &". I've tried using the following which does not seem to work for subject lines in the editable templates;

${tools.unescapeHtml($notification.message.subject)}

 

Is there something else I should be using to resolve this?

Thanks