/** * Removes all markup from input * * @param string $text Input possibly containing html * @return string */ public function removeMarkup($text) { return \MUtil_String::beforeChars(\MUtil_Html::removeMarkup($text, 'b|i|u|em|strong'), '{'); }