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)

<f:format.stripTags allowedTags="

</f:format.stripTags>

paragraph

span
divider
iframe

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

{text -> f:format.stripTags(allowedTags: "