gpc/grails-fields — pull request #142 by lhotari (2014-08-08 06:56:36+00:00)
Title: Fixes #137

Taglib output should be returned with java.lang.CharSequence type instead of java.lang.String so that Grails can pass a StreamCharBuffer instance (that implements CharSequence). StreamCharBuffer keeps the state of encoding to prevent double encoding.
renderDefaultField uses MarkupBuilder which loses encoding information. I didn't change that in this PR.