Package

ViewHelpers

ViewHelper Documentation

format.stripTags

Removes tags from the given string (applying PHPs strip_tags() function)

= Examples =

<f:format.stripTags>Some Text with Tags and an Ümlaut.</f:format.stripTags> Some Text with Tags and an Ümlaut. (strip_tags() applied. Note: encoded entities are not decoded)

{text -> f:format.stripTags()} Text without tags (strip_tags() applied)

Arguments

value string

string to format

allowedTags string

Optional string of allowed tags as required by PHPs strip_tags() f unction

ViewHelper Resources

Schema Resources