From 6a7e97d53f954bf573a39f6108e688c9e75ab663 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Fri, 20 Sep 2013 14:11:53 +0200 Subject: Display tablecell with rowspan at first row as empty cell. Fixes FS#2810 --- inc/parser/handler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/parser') 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]++; -- cgit v1.2.3