fenom/docs/en/tags/filter.md

10 lines
248 B
Markdown
Raw Normal View History

2013-02-13 18:51:53 +04:00
Tags {filter}
=============
Позволяет применить модификаторы на фрагмент шаблона
```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}
```