You must save the HTML content as a value in the resource set (XML format). HTML tags contradict XML tags. How to save HTML string without reference to character entities(< and >)
(< and >)
Put it between <![CDATA[and]]> .
<![CDATA[
]]>
Have you tried using "CDATA". The CDATA section will be ignored by the parser.
see an example here. http://www.w3schools.com/xml/xml_cdata.asp