Golang XML marshalling without encoding HTML entities



I'd like to marshal a struct into XML, but without encoding special HTML-entities. See this example:


http://ift.tt/10fhwF0


The string test&abc gets converted to test&abc, but I'd like it to stay test&abc


No comments:

Post a Comment