function parseInternal()
 {
     $parser = new RTEReverseParser();
     return $parser->parse($this->mText);
 }
Example #2
0
 /**
  * Parse given HTML from CK back to wikitext
  */
 public static function HtmlToWikitext($html)
 {
     wfProfileIn(__METHOD__);
     $RTEReverseParser = new RTEReverseParser();
     $wikitext = $RTEReverseParser->parse($html);
     wfProfileOut(__METHOD__);
     return $wikitext;
 }