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 <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $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])){
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php