momo Thu May 29 10:53:23 2003 EDT
Modified files:
/phpdoc/scripts/rtlpatch HtmlExtParser.class.php
Log:
allow adding tags between tags to the output
Index: phpdoc/scripts/rtlpatch/HtmlExtParser.class.php
diff -u phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.6
phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.7
--- phpdoc/scripts/rtlpatch/HtmlExtParser.class.php:1.6 Tue May 27 06:43:46 2003
+++ phpdoc/scripts/rtlpatch/HtmlExtParser.class.php Thu May 29 10:53:22 2003
@@ -16,7 +16,7 @@
| Authors: Moshe Doron <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: HtmlExtParser.class.php,v 1.6 2003/05/27 10:43:46 momo Exp $
+ $Id: HtmlExtParser.class.php,v 1.7 2003/05/29 14:53:22 momo Exp $
*/
class CHtmlExtParse extends CHtmlParse{
@@ -131,10 +131,12 @@
if($tg>9) {
$tag = $EHType[$tg];
$ret[$a] .= "<$tag";
+ $chaintoend="";
foreach ($this->ATE[$a] as $key=>$value){
- $ret[$a].=" $key=\"$value\"";
+ if($key == "chaintoend") $chaintoend = $value;
+ else $ret[$a].=" $key=\"$value\"";
}
- $ret[$a].=">";
+ $ret[$a].=">$chaintoend";
if($this->ECE[$a]!=$a) $ret[$this->ECE[$a]] .= "
</$tag>";
} else if($tg == __HTML_PROCESS__){
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php