fenom/docs/tags/capture.md
2013-02-19 09:51:33 +04:00

15 lines
248 B
Markdown

Tag {capture}
=============
```smarty
{capture $var}
This content will be captured into variable $var
{/capture}
```
```smarty
{capture|stip_tags $var}
This content will be captured into variable $var and all tags will be stripped
{/capture}
```