Page 1 of 1

PHP DOM P tag insertion

Posted: Sat Aug 19, 2006 11:20 am
by Ambush Commander
I'm running into some very strange behavior with PHP 5's DOM extension. It's wrapping text inbetween the body tags with p tags. Now, this in and of itself isn't strange, the only puzzling thing about it is that it doesn't happen in the DOM installation on my computer.

I'm running PHP 5.1.5 with libxml 2.6.22, they're running PHP 5.1.2 with libxml 2.6.16. I checked libxml's changelogs, though, and didn't find anything that would imply this change in behavior. DOM doesn't seem to define any php.ini settings either, so it doesn't seem to be configuration.