strip_except

UNIX name Owner Status
strip_except Steven E. Bailey stable
Version Compatible with
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!

No forum messages yet.