I've got some items that I'm placing text in via XTemplate, and the text is HTML from a webservice. The HTML has valid entities in it like & and …. Even though I've got StyleHTMLContent turned on, the entities are being treated as regular text. Is this to be expected? I see that the String class has some HTMLEncode and HTMLDecode methods, although the source looks like it doesn't really handle that much. Any ideas?
Thanks for bumping me, I'd been meaning to come back and say just that. Some were, but a lot were not. So i put in a sanitization routine in my web service and it's fine now.
Thanks for bumping me, I'd been meaning to come back and say just that. Some were, but a lot were not. So i put in a sanitization routine in my web service and it's fine now.