PHP DOM P tag insertion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

PHP DOM P tag insertion

Post 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.
Post Reply