Fix escaping issue in GRAILS-10551 commit