Update syntax.md

This commit is contained in:
Ivan Shalganov 2014-04-24 00:04:27 +04:00
parent 947546c468
commit ac4ccd0fca

View File

@ -302,14 +302,15 @@ Outputs
| name | code | type | description | | name | code | type | description |
| ------- | ---- | ----- | ------------ | | ------- | ---- | ----- | ------------ |
| strip | s | block | | | strip | s | block | remove any multi-whitespaces |
| ltrim | l | any | | | ltrim | l | any | remove spaces left of the tag |
| rtrim | r | any | | | rtrim | r | any | remove spaces right of the tag |
| trim | t | any | | | trim | t | any | remove spaces near tag |
| raw | a | any | | | raw | a | any | ignore escape option |
| escape | e | any | | | escape | e | any | force escape |
| ignore | i | block | | | ignore | i | block | ignore Fenom syntax |
```smarty ```smarty
{script:ignore} ... {/script} {script:ignore} ... {/script}
{foreach:ignore:strip ...} ... {/foreach}
``` ```