blackbad88 Posted March 19, 2010 Share Posted March 19, 2010 $ValueTag[$i] = $val->nodeValue; the nodeValue function is removing all the HTML tags or child nodes, how can I stop it or is there another function that doesn't remove them? Please help Link to comment https://forums.phpfreaks.com/topic/195846-dom-nodevalue-removes-html-tags/ Share on other sites More sharing options...
blackbad88 Posted March 19, 2010 Author Share Posted March 19, 2010 Forgot some info <div>This is text and this is <strong>bold</strong>!</div> looks like this: this is text and this is bold! should look like this: this is text and this is <strong>bold</strong> Link to comment https://forums.phpfreaks.com/topic/195846-dom-nodevalue-removes-html-tags/#findComment-1028768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.