momo Fri May 30 08:25:14 2003 EDT Modified files: /phpdoc/scripts/rtlpatch HtmlExtParser.class.php Log: add change_tag_type() Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.7 phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.8 --- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.7 Thu May 29 10:53:22 2003 +++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Fri May 30 08:25:14 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: HtmlExtParser.class.php,v 1.7 2003/05/29 14:53:22 momo Exp $ + $Id: HtmlExtParser.class.php,v 1.8 2003/05/30 12:25:14 momo Exp $ */ class CHtmlExtParse extends CHtmlParse{ @@ -187,6 +187,17 @@ } } return true; + } + + function change_tag_type($id,$newtag){ + $this->ATE[$id]["w4htype"] = $newtag; + $this->ATE[$this->ECE[$id]]["w4htype"] = $newtag; + + if($newtag < __HTML_UNKNOWN__){ + if(!isset($this->ATE[$id]["data"])) $this->ATE[$id]["data"] = ""; + } + + //TODO: update the EBT } //\/\/\/\/\/\/\/\/\/\
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php