Hi,
My custom model contains XML tags inside of attribute. If I want to display like that:
$content
I get noting. Content variable contains string: <myCUstomTAg/>
Is there any way to display XML escaped tags?
did you try
$textUtils.htmlEncode($content)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.