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.
Copyright 2007-2012 Six Apart Ltd. All content licensed under Creative Commons Attribution-Share Alike 3.0 Unported License.
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.