Mackinaw
13 years agoAdept
character encoding in freemarker
Hello,
I'm generating an XML doc in the endpoints, and I need to encode the fields.
Currently, I'm doing:
<mytag>${blog.title}</mytag>
The problem is if the title is "Tom & Jerry", the "&" breaks the xml - how do I encode the writing?
Thank you,
Paul