public function __construct() { parent::__construct(); $this->_default_transformer = new MUNGER_NOP_TRANSFORMER($this); }
public function __construct() { parent::__construct(); $this->register_known_tag('span', true); $this->register_known_tag('i', true); $this->register_known_tag('b', true); $this->register_known_tag('n', true); $this->register_known_tag('c', true); $this->register_known_tag('hl', true); $this->register_known_tag('del', true); $this->register_known_tag('var', true); // program variables $this->register_known_tag('kbd', true); // keyboard input $this->register_known_tag('dfn', true); // defining instance of a term $this->register_known_tag('abbr', true); // abbreviation $this->register_known_tag('cite', true); // citations of other sources $this->register_replacer('macro', new MUNGER_MACRO_REPLACER(), false); $this->register_converter('tags', new MUNGER_HTML_CONVERTER()); $this->register_converter('punctuation', new PLAIN_TEXT_PUNCTUATION_CONVERTER()); }