Wednesday, 11 September 2013

Render GSP view as compact html file

Render GSP view as compact html file

I have gsp view files wherein tags are formatted for readability with
whitespaces. I am expected to remove those so that the rendered html file
is compact. So, is there a way in grails using plugin or any other means
that I can tell grails to remove the whitespaces/newlines between tags and
generate a compact view? I dont want to remove them from gsp file itself
but only from the html file rendered by grails.

No comments:

Post a Comment