summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2013-09-20 14:11:53 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2013-09-20 14:11:53 +0200
commit6a7e97d53f954bf573a39f6108e688c9e75ab663 (patch)
treec4f2909626bcf8e89e02edb1dc90f6f41f530bd0
parent9c438d6c2f958e38aa324a04ed37b9a072872038 (diff)
downloadrpg-6a7e97d53f954bf573a39f6108e688c9e75ab663.tar.gz
rpg-6a7e97d53f954bf573a39f6108e688c9e75ab663.tar.bz2
Display tablecell with rowspan at first row as empty cell. Fixes FS#2810
-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 6e6cca1a9..b31dd54d0 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1374,7 +1374,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]++;