How to Striptags allow some tag ex: <b>, <a> in Volt

Hi Pro, I using Volt template phalcon, please help me to use striptags allow tag: b, a, .... tag ex: {{ value|striptags('b', 'a') }} :D

Just implement such a filter if you need it.

yes. please help me a tutorial for fillter striptag

edited Oct '16

Did you even read docs ? https://docs.phalconphp.com/pl/latest/reference/volt.html#filters Volt already have striptags filter built-in

http://php.net/manual/en/function.strip-tags.php

So this code:

{{ value|striptags('b', 'a') }}

Should already work.