fenom/docs/ru/tags/autoescape.md

15 lines
451 B
Markdown
Raw Permalink Normal View History

2014-08-06 22:42:42 +04:00
Тег {autoescape}
================
2014-08-01 12:12:19 +04:00
2014-08-06 22:42:42 +04:00
Задает индивидуальное значение параметра `auto_escape` на фрагмент шаблона:
2014-08-01 12:12:19 +04:00
```smarty
{autoescape true}
...
2014-08-06 22:42:42 +04:00
Text: {$text} {* значение переменной $text будет заэкранированно *}
2014-08-01 12:12:19 +04:00
...
{/autoescape}
```
2014-08-06 22:42:42 +04:00
Так же смотите тег [{raw}](./raw.md) и параметр тега [:raw](../configuration.md)