In Grails (<2.3), if I leave grails.views.default.code=\'none\' in the grails Config.groovy, it\'s up to me to HTML encode my expressions explicitly in the G
grails.views.default.code=\'none\'
Write your own tag and write the expression direct to the output stream:
class YourTagLib { static namespace = "x" def unescaped = { attrs, body -> out << attrs.value } }
Use it in your GSP: