Fix: do not allow unescaped strings in XML output.
This is a backport of d739c65e. This patch fixes the output generating for XML. It will ensure all strings are escaped correctly by using text node creation function not the normal raw XML subnode function. See #2255
Showing with 30 additions and 30 deletions