Skip to content

Commit

Permalink
Rowspan and space before free format
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@193535 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
bertrand Gugger committed Aug 15, 2005
1 parent 1f0705d commit 2bcab0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Text/Wiki/Render/Xhtml/Table.php
Expand Up @@ -107,13 +107,18 @@ function token($options)
$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;

Expand Down

0 comments on commit 2bcab0f

Please sign in to comment.