Path

ez projects / strip_except


strip_except

UNIX name Owner Status Version Compatible with
strip_except Steven E Bailey stable Version 1.0 4.x
Allows use of the second parameter of the php strip_tags in a template operator.

The strip_except template operator allows use of the second parameter of strip_tags to not strip some tags.

such as:

{$article_node.data_map.intro.content.output.output_text|strip_except("<a><b><i>")}

Note: non-self-closing html tags are incompatible with the shorten template operator. See the smartshort template operator for more information.

No news yet.

This project has no reviews yet. Be the first one to review it!