mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +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>
|
||||
|
||||
|
||||
@@ -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
|
||||
template. For example, to HTML-escape every variable by default, use
|
||||
array('escape:"htmlall"'); To make a variable exempt from default
|
||||
modifiers, pass the special "nodefaults" modifier to it, such as
|
||||
{$var|nodefaults}.
|
||||
modifiers, pass the special "smarty" modifier with a parameter value of
|
||||
"nodefaults" modifier to it, such as
|
||||
{$var|smarty:nodefaults}.
|
||||
</para>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
Reference in New Issue
Block a user