If you're using it to store markup, then you might be better off switching it to HTMLText

👍 (1)

Be aware however, RAW does not care about what's actually supposed to be there, it's fairly susceptible to js injection


This way the HTML is actually rendered (and not stripped)

Anish Joshi

Morning guys, i've got a TextField in the CMS which I'm using to paste HTML code in, but when I call the field in my template using $FieldName it just prints the HTML as text rather than actual code. anyone know how to bypass this? I've tried using $FieldName.Raw but no luck