Stripping html + encoded html
-
My xml contains this:
<HTMLEncodedWebText>
<SPAN lang=EN-GB> <P dir=ltr align=left>This property is now available
</HTMLEncodedWebText>I want to strip all the HTML, or just insert it as HTML. I have tried creating functions to strip (which work in an external test PHP script):
$stripped = html_entity_decode($thehtml);
$stripped = strip_tags($stripped);… but the functions are not returning the stirpped code. Any pointers?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Stripping html + encoded html’ is closed to new replies.