cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php

From: Date: Thu, 10 Jul 2003 09:23:31 +0000
Subject: cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969355125@lists.php.net to get a copy of this message
momo Thu Jul 10 05:23:31 2003 EDT Modified files: /phpdoc/scripts/rtlpatch HtmlExtParser.class.php Log: mute warning Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.8 phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.9 --- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.8 Fri May 30 08:25:14 2003 +++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Thu Jul 10 05:23:30 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <momo@php.net> | +----------------------------------------------------------------------+ - $Id: HtmlExtParser.class.php,v 1.8 2003/05/30 12:25:14 momo Exp $ + $Id: HtmlExtParser.class.php,v 1.9 2003/07/10 09:23:30 momo Exp $ */ class CHtmlExtParse extends CHtmlParse{ @@ -35,8 +35,12 @@ // fix functions '()': if($tmp = $this->get_element_id_by_rule(array("tag"=>"div","properties"=>array("class","refsect1")))){ - $this->ATE[$tmp+6]["data"] = "<span dir=ltr>".$this->ATE[$tmp+6]["data"]; - $this->ATE[$tmp+10]["data"] .= "</span>"; + if(isset($this->ATE[$tmp+6]["data"])){ + $this->ATE[$tmp+6]["data"] = "<span dir=ltr>".$this->ATE[$tmp+6]["data"]; + $this->ATE[$tmp+10]["data"] .= "</span>"; + } else { + //TODO: find exceptions (on the stream part there are some) + } } $b = $HEType["b"]; if(isset($this->EBT[$b])){

« previous php.doc (#969355125) next »