and since my default codec in Config.groovy was set to 'html':
grails.views.default.codec = "html"
The ampersand was always being converted to
What I wanted was just the '&' character in unencoded format.
To do that we can use the raw() function as follows: