NL2BR inconsistent output
Posted: Mon May 02, 2011 2:47 pm
Hi,
After coming back to NL2BR after a short detour I am struggling with its output.
This is an example of my blog entry (plain text):
The screenshot shows the nl2br configuration.
And this is the resulting HTML code.
So why are there all the br's? First they should not be there due to the exception in the plugin, second they should not be there because I clicked the "please use <p> instead"...?
Daniel
After coming back to NL2BR after a short detour I am struggling with its output.
This is an example of my blog entry (plain text):
Code: Select all
<h5>News</h5>
Two large companies have been hit by major "virtual" disruptions. On the other hand the Japanese earthquake still disrupts production at some car makers.<ul>
<li><a href="http://en.wikipedia.org/wiki/PlayStation_Network" title="Wikipedia: PlayStation Network">Sony Servers</a> have been attacked and over 70 million customer files (including credit card information) has been stolen (<a href="http://blogs.wsj.com/digits/2011/04/22/sony-struggles-with-outage-of-playstation-network/?mod=google_news_blog" title="blogs.wsj.com">Wall Street Journal</a>)</li>
<li>Amazon cloud offerings (EC2) has been hit by an outage with several customers including Foursquare affected (<a href="http://news.yahoo.com/s/nm/20110421/wr_nm/us_amazon_cloud" title="Yahoo News: Amazon Cloud Services">Yahoo</a>)</li>
[...]And this is the resulting HTML code.
Code: Select all
<h5>News</h5><br />
Two large companies have been hit by major "virtual" disruptions. On the other hand the Japanese earthquake still disrupts production at some car makers.<ul><br />
<li><a href="http://en.wikipedia.org/wiki/PlayStation_Network" title="Wikipedia: PlayStation Network">Sony Servers</a> have been attacked and over 70 million customer files (including credit card information) has been stolen (<a href="http://blogs.wsj.com/digits/2011/04/22/sony-struggles-with-outage-of-playstation-network/?mod=google_news_blog" title="blogs.wsj.com">Wall Street Journal</a>)</li><br />
<li>Amazon cloud offerings (EC2) has been hit by an outage with several customers including Foursquare affected (<a href="http://news.yahoo.com/s/nm/20110421/wr_nm/us_amazon_cloud" title="Yahoo News: Amazon Cloud Services">Yahoo</a>)</li><br />
<li>Toyota will not be able to run full production until the end of the year due to the quake (<a href="http://www.nytimes.com/2011/04/23/business/global/23toyota.html?_r=1&partner=rss&emc=rss" title="NY Times: Toyota Says No Full Production Until Year’s End">NY Times</a>)</li><br />
<li>Also, Canon is struggling with the effects (<a href="http://www.reuters.com/article/2011/04/26/canon-idUSL3E7FP23S20110426" title="Reuters: Canon cuts profit outlook, parts recovery still months away">Reuters</a>)</li><br />
<li>Overall ratings for all Japanese car makers have been lowered by S&P (<a href="http://news.bbc.co.uk/today/hi/today/newsid_9468000/9468229.stm" title="BBC: 'Massive' disruption for Japanese car makers">BBC</a>)</li><br />
</ul><br />Daniel