<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/php-xml/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/php-xml/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 12 Mar 2003 21:04:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/php-xml/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Tag parser doesn't trim formatted tag content</title><link>https://sourceforge.net/p/php-xml/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Circumstances:&lt;/p&gt;
&lt;p&gt;Tag string to be parsed is formatted in the following way:&lt;br /&gt;
&amp;amp;lt;tag&amp;amp;gt;&lt;br /&gt;
Tag Content&lt;br /&gt;
&amp;amp;lt;/tag&amp;amp;gt;&lt;br /&gt;
When tag is parsed in by Tag-&amp;amp;gt;setTagFromString the&lt;br /&gt;
formatting whitespace is not removed from the content.&lt;/p&gt;
&lt;p&gt;Problem:&lt;br /&gt;
- tagContent is set incorrectly by including whitespace&lt;br /&gt;
in its value;&lt;br /&gt;
- if tag is outputted again with the formatting option,&lt;br /&gt;
the formatting whitespace will be duplicated.&lt;br /&gt;
- rinse and repeat.&lt;/p&gt;
&lt;p&gt;Solution:&lt;br /&gt;
When setting tag content in the setTagFromString it&lt;br /&gt;
needs to be trimmed first.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zurab Davitiani</dc:creator><pubDate>Wed, 12 Mar 2003 21:04:54 -0000</pubDate><guid>https://sourceforge.net2d15cebf9cebf03f512da02c1d8ac9ad83ec09d5</guid></item></channel></rss>