Are you ready to switch to HTML parsing permanently?

83.3% 65
1.3% 1
15.4% 12

78 Дата 14.04.2010 00:49

Форумы / Cotonti / Development / Опрос: A global switch to HTML parsing

Are you ready?

GHengeveld
#24188 18.04.2010 22:57
According to general good front-end development practices, nl2br is not preferable. The <br/> tag should only be used if absolutely necessary or the logical choice, and NOT for seperating paragraphs. The <p> tag is the only acceptable and flexible way to do this. Since BBcodes uses <br> tags it is yet another reason to make the switch.

In general, I try to follow the Dutch government Web Standards as much as possible. These standards also include guidelines for paragraphs.