fenom/docs/en/tags/filter.md

12 lines
272 B
Markdown
Raw Permalink Normal View History

2013-02-13 18:51:53 +04:00
Tags {filter}
=============
2016-04-12 12:28:57 +03:00
Apply modifier to template area.
2013-02-13 18:51:53 +04:00
```smarty
2013-02-19 09:51:33 +04:00
{filter|strip_tags|truncate:20}
2013-03-15 00:57:28 +04:00
Remove all HTML <b>tags</b> and truncate {$text} to 20 symbols
2013-02-13 18:51:53 +04:00
{/filter}
2016-04-12 12:28:57 +03:00
```
**Note**: output buffering used. May be used a lot of memory if you output a lot of data.