Are you ready to switch to HTML parsing permanently?

83.3% 65
1.3% 1
15.4% 12

78 Date 2010-04-14 00:49

Forums / Cotonti / Development / Poll: A global switch to HTML parsing

Are you ready?

Kilandor
#24175 2010-04-17 21:55
Right, see if we add a config so you can turn off nl2br

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.





[right]Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.[right]




Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Even that would output exactly the same as your first one

nl2br is a problem for anyone who wants to have 100% control and formatting over your text like you wish to. Which isn't relative to bbcode at all, let me show you a demo here on cotonti.com

Added 1 hour 12 minutes later:

Ok, well here is the demo. I tried to show many possible combination's and the results.

http://www.cotonti.com/plug.php?e=parserdemo

I think the real grief everyone is having is with nl2br not bbcode itself. I tried to show in the demo, how bbcode does not effect typography at all. Its simply nl2br.
This post was edited by Kilandor (2010-04-17 23:10, 14 years ago)