File: variable-auto-literal.md

package info (click to toggle)
smarty4 4.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,136 kB
  • sloc: php: 18,847; yacc: 986; makefile: 48; sh: 12
file content (17 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\$auto\_literal {#variable.auto.literal}
===============

The Smarty delimiter tags { and } will be ignored so long as they are
surrounded by white space. This behavior can be disabled by setting
auto\_literal to false.

::: {.informalexample}

    <?php
    $smarty->auto_literal = false;
    ?>

            
:::

See also [Escaping Smarty parsing](#language.escaping),