Since upgrading an existing application from grails 4.0.3 to 4.0.11 (did not perform interim upgrades, so issue may be somewhere in there) my gsp's that contain raw HTML are now over-encoded (meaning they are showing text like <p>Hello</p>
). Is anyone else having this problem? Was there an encoding change that missed documentation (or that I overlooked)?
I have my encodings set to:
grails {
// other stuff removed for clarity here
converters.encoding = "UTF-8"
views {
"default" {
codec = "none"
}
gsp {
encoding = "UTF-8"
htmlcodec = "xml"
codecs {
expression = "none"
scriptlets = "none"
taglib = "none"
staticparts = "none"
}
}
}
}
Other info that may help:
- This only happens when running as a jar; with
run-app
encoding is respected as usual