Paul Tessier
Paul Tessier

Reputation: 1

Prevent LF adding in XML file while converting

I use PHP to convert XML into XML.

While the conversion operates nicely, I have LF that appears after HTML tags. ie:

The weather was <i>nice</i> and Eve was feeling lucky. 

becomes

The weather was <i>nice</i>**LF**

and Eve was feeling lucky.

Does anyone has any idea where it could come from?

The code :

case 'Texte':
$this->setData('body', $domElement);

Upvotes: 0

Views: 42

Answers (0)

Related Questions