nl2br

nl2br ( string text ) : string

Add in a text BR tags for line breaks.

Special recommandation

It is recommanded to execute nl2br before standardizeText because it linearize multiple spaces.
It is recommanded to do not execute "select" to extract text with line breaks to take into account because the parser linearize multiple spaces.

Parameters

text