function div_stripSomeTags($sContent, $sTags, $bPreserveInnerHtml = FALSE, $sReplaceEndTagsBy = FALSE) { $aTags = t3lib_div::trimExplode(",", $sTags); reset($aTags); while (list(, $sTag) = each($aTags)) { $sContent = tx_ameosformidable::div_stripSomeTag($sContent, $sTag, $bPreserveInnerHtml, $sReplaceEndTagsBy); } return $sContent; }