| XML/HTML in ticket body -
07-03-2008, 03:17 PM
Hi,
Due to the nature of our product, we frequently receive support emails with XML in the message text, for example:
Start of xml:
<root><child>This is the text</child></root>
End of xml:
The XML does not display in the Staff CP ticket view or the Support Center ticket view. All you see is:
Start of xml:
This is the text
End of xml:
This is probably happening because of the parser setting that allows/disallows HTML tags and the XML is being interpreted as HTML. I'm allowing HTML but I'm required to list the tags I allow and that's not possible because the XML can be anything. There is a workaround in the Staff CP ... you can click the edit post button and it will show the original post with the XML intact but there is no workaround in the Support Center.
Is there a workaround for this via some Admin setting? If necessary, I have the owned version and the PHP skills to change the source to allow all HTML tags. If someone could point me to the right PHP file ... that would save me a lot of time.
Thanks,
Dave |