extension/ezoe/ezxmltext/handlers/input/ezoeinputparser.php
public function process( $text, $createRootNode = true )
    {
        $text = preg_replace( '#<!--.*?-->#s', '', $text ); // remove HTML comments
        $text = str_replace( array( '&nbsp;', '&#160;', '&#xa0;' ), "\xC2\xA0", $text );
        return parent::process( $text, $createRootNode );
    }
public function process( $text, $createRootNode = true )
    {
        $text = preg_replace( '#<!--.*?-->#s', '', $text ); // remove HTML comments
        $text = str_replace( array( '&nbsp;', '&#160;', '&#xa0;' ), "\xC2\xA0", $text );
        return parent::process( $text, $createRootNode );
    }
public function process ( $ text , $ createRootNode = true ) { $ text = preg_replace ( '#<!--.*?-->#s' , '' , $ text ) ; // remove HTML comments $ text = str_replace ( array ( '&nbsp;' , '&#160;' , '&#xa0;' ) , "\xC2\xA0" , $ text ) ; return parent :: process ( $ text , $ createRootNode ) ; }
Process html text and transform it to xml.

@param string $text
@param bool $createRootNode
@return false|DOMDocument
Process html text and transform it to xml .