cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Table.php
| From: | bertrand GUGGER | Date: | Mon, 15 Aug 2005 18:36:44 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Table.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33992@lists.php.net to get a copy of this message | ||
toggg Mon Aug 15 14:36:44 2005 EDT
Modified files:
/pear/Text_Wiki/Text/Wiki/Render/Xhtml Table.php
Log:
Rowspan and space before free format
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php?r1=1.9&r2=1.10&ty=u
Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php
diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php:1.9
pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php:1.10
--- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php:1.9 Mon Aug 15 01:29:41 2005
+++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Table.php Mon Aug 15 14:36:44 2005
@@ -9,7 +9,7 @@
* @package Text_Wiki
* @author Paul M. Jones <pmjones@php.net>
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
- * @version CVS: $Id: Table.php,v 1.9 2005/08/15 05:29:41 toggg Exp $
+ * @version CVS: $Id: Table.php,v 1.10 2005/08/15 18:36:44 toggg Exp $
* @link http://pear.php.net/package/Text_Wiki
*/
@@ -107,13 +107,18 @@
$html .= " colspan=\"$span\"";
}
+ // add the row span
+ if ($rowspan > 1) {
+ $html .= " rowspan=\"$rowspan\"";
+ }
+
// add alignment
if ($attr != 'header' && $attr != '') {
$html .= " style=\"text-align: $attr;\"";
}
// done!
- $html .= "$format>";
+ $html .= " $format>";
return $html;
break;