summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-13 01:08:55 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-10-13 01:08:55 -0700
commitb0d8bc5fa3fb8530225f01864c73542edff7be1c (patch)
treecd2dc294ac7557df1499861115febe7c0d71d602 /inc
parent6d18d1a863fdcaea8ed2e8009fcc2a2c52a1fbba (diff)
parent0d9a72ff5d870d72772f5f6b4b83b8ee0b4a1f05 (diff)
downloadrpg-b0d8bc5fa3fb8530225f01864c73542edff7be1c.tar.gz
rpg-b0d8bc5fa3fb8530225f01864c73542edff7be1c.tar.bz2
Merge pull request #344 from splitbrain/tablewithonlyrowspan
Display tablecell with rowspan at first row as empty cell. Fixes FS#2810
Diffstat (limited to 'inc')
-rw-r--r--inc/parser/handler.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index b72f051ae..1de981b48 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1371,7 +1371,8 @@ class Doku_Handler_Table {
if (is_null($spanning_cell)) {
// No spanning cell found, so convert this cell to
// an empty one to avoid broken tables
- $this->tableCells[$key][1][1] = '';
+ $this->tableCalls[$key][0] = 'cdata';
+ $this->tableCalls[$key][1][0] = '';
continue;
}
$this->tableCalls[$cellKey[$spanning_cell][$lastCell]][1][2]++;