mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed bug in documentation for $smarty->default_modifiers
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<part id="smarty.for.programmers">
|
<part id="smarty.for.programmers">
|
||||||
<title>Smarty For Programmers</title>
|
<title>Smarty For Programmers</title>
|
||||||
|
|
||||||
|
|
||||||
@@ -477,8 +477,9 @@ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'),
|
|||||||
This is an array of modifiers to implicitly apply to every variable in a
|
This is an array of modifiers to implicitly apply to every variable in a
|
||||||
template. For example, to HTML-escape every variable by default, use
|
template. For example, to HTML-escape every variable by default, use
|
||||||
array('escape:"htmlall"'); To make a variable exempt from default
|
array('escape:"htmlall"'); To make a variable exempt from default
|
||||||
modifiers, pass the special "nodefaults" modifier to it, such as
|
modifiers, pass the special "smarty" modifier with a parameter value of
|
||||||
{$var|nodefaults}.
|
"nodefaults" modifier to it, such as
|
||||||
|
{$var|smarty:nodefaults}.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
Reference in New Issue
Block a user