stripTags

Remove unwanted HTML and MODx tags, such as snippet and chunk references, from a given block of text. A wrapper function for the PHP strip_tags() function.

Usage:

string stripTags($html, $allowed); (show formatting legend)