15 * Purpose: convert \r\n, \r or \n to <<br>>
17 * - contents = contents to replace
18 * - preceed_test = if true, includes preceeding break tags
20 * Example: {$text|nl2br}
21 * @link http://smarty.php.net/manual/en/language.modifier.nl2br.php
22 * nl2br (Smarty online manual)
24 * @author Monte Ohrt <monte at ohrt dot com>
28 function smarty_modifier_nl2br($string)
30 return nl2br($string);
33 /* vim: set expandtab: */
This page took 0.702255 seconds and 4 git commands to generate.