Jelix 1.6.37

modifier.nl2br.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

author

Monte Ohrt

copyright

2001-2003 ispi of Lincoln, Inc.

link
http://smarty.php.net/
link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_modifier_html_nl2br()  : string
modifier plugin : convert \r\n, \r or \n to <<br/>> Example: {$text|nl2br}

Functions

jtpl_modifier_html_nl2br()

modifier plugin : convert \r\n, \r or \n to <<br/>> Example: {$text|nl2br}

jtpl_modifier_html_nl2br(string $string) : string
Parameters
$string : string

the string to modify

Return values
string

Search results