You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grails:
#...
views:
default:
codec: html
gsp:
encoding: UTF-8
htmlcodec: xml
codecs:
expression: html
scriptlets: html # This is wrong. The correct key is `scriptlet`
taglib: none
staticparts: none
The text was updated successfully, but these errors were encountered:
<%= htmlText %>
doesn't escape HTML text.In a GSP file:
Result:
It's because the configuration value in application.yml is wrong.
The correct key is
scriptlet
, but the current value isscriptlets
.https://github.com/grails-profiles/web/blob/master/skeleton/grails-app/conf/application.yml
The text was updated successfully, but these errors were encountered: