currently, domdocument php object auto-generates closing tag if doesn't exist. prevent behavior happening. here's example: <div><p>text</p>
add closing </div
tag it.
it's funny because there libxml option called libxml_noemptytag
, forces create closing tag. however, opposite of that.
Comments
Post a Comment