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

From: Date: Tue, 27 May 2003 10:43:46 +0000
Subject: cvs: phpdoc /scripts/rtlpatch HtmlExtParser.class.php todo.txt
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353937@lists.php.net to get a copy of this message
momo Tue May 27 06:43:46 2003 EDT Modified files: /phpdoc/scripts/rtlpatch HtmlExtParser.class.php todo.txt Log: more optimizations Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.5 phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.6 --- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.5 Tue May 27 06:20:26 2003 +++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Tue May 27 06:43:46 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <momo@php.net> | +----------------------------------------------------------------------+ - $Id: HtmlExtParser.class.php,v 1.5 2003/05/27 10:20:26 momo Exp $ + $Id: HtmlExtParser.class.php,v 1.6 2003/05/27 10:43:46 momo Exp $ */ class CHtmlExtParse extends CHtmlParse{ @@ -57,6 +57,17 @@ do{ if($tmp = $this->get_element_id_by_rule(array("tag"=>"tt","properties"=>array("class","constant"),"offset"=>($tmp+1)))){ $this->ATE[$tmp-1]["dir"] = "ltr"; + } + } while($tmp); + + //ltr literals: + $tmp=0; + do{ + if($tmp = $this->get_element_id_by_rule(array("tag"=>"tt","properties"=>array("class","literal"),"offset"=>($tmp+1)))){ + $this->ATE[$tmp]["dir"] = "ltr"; + if(isset($this->ATE[$tmp+1]["data"])){ + $this->ATE[$tmp+1]["data"] = "&nbsp;".$this->ATE[$tmp+1]["data"]; + } } } while($tmp); Index: phpdoc/scripts/rtlpatch/todo.txt diff -u phpdoc/scripts/rtlpatch/todo.txt:1.3 phpdoc/scripts/rtlpatch/todo.txt:1.4 --- phpdoc/scripts/rtlpatch/todo.txt:1.3 Tue May 27 06:20:26 2003 +++ phpdoc/scripts/rtlpatch/todo.txt Tue May 27 06:43:46 2003 @@ -1,2 +1,3 @@ +1. urls on links description (the end slash) 3. encoding on web (?). 4. big manual.

« previous php.doc (#969353937) next »