nl2br

Converts any newline characters into HTML br tags. If the value of the 'nl2br' attribute is "xhtml", it will use the "<br />" form of the br tag.

This page was last updated on 2007-08-10, 16:50.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.