cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php todo.txt
| From: | Moshe Doron | Date: | Tue, 27 May 2003 10:20:27 +0000 |
| Subject: | cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php todo.txt | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353936@lists.php.net to get a copy of this message | ||
momo Tue May 27 06:20:27 2003 EDT
Modified files:
/phpdoc/scripts/rtlpatch HtmlExtParser.class.php todo.txt
Log:
add check
Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php
diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.4
phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.5
--- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.4 Tue May 27 05:43:59 2003
+++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Tue May 27 06:20:26 2003
@@ -16,7 +16,7 @@
| Authors: Moshe Doron <momo@php.net> |
+----------------------------------------------------------------------+
- $Id: HtmlExtParser.class.php,v 1.4 2003/05/27 09:43:59 momo Exp $
+ $Id: HtmlExtParser.class.php,v 1.5 2003/05/27 10:20:26 momo Exp $
*/
class CHtmlExtParse extends CHtmlParse{
@@ -45,7 +45,9 @@
$elem = &$this->ATE[$this->EBT[$b][$a]];
if($this->comp_properties($elem,$ar)){
$elem["dir"] = "ltr";
- $this->ATE[$this->EBT[$b][$a]+1]["data"] =
" ".$this->ATE[$this->EBT[$b][$a]+1]["data"];
+ if(isset($this->ATE[$this->EBT[$b][$a]+1]["data"])){
+ $this->ATE[$this->EBT[$b][$a]+1]["data"] =
" ".$this->ATE[$this->EBT[$b][$a]+1]["data"];
+ }
}
}
}
Index: phpdoc/scripts/rtlpatch/todo.txt
diff -u phpdoc/scripts/rtlpatch/todo.txt:1.2 phpdoc/scripts/rtlpatch/todo.txt:1.3
--- phpdoc/scripts/rtlpatch/todo.txt:1.2 Tue May 27 05:43:59 2003
+++ phpdoc/scripts/rtlpatch/todo.txt Tue May 27 06:20:26 2003
@@ -1,3 +1,2 @@
-1. main tree menu.
3. encoding on web (?).
4. big manual.