diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index a7d243283..96afd1593 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -831,7 +831,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $class .= '"'; $this->doc .= '<th ' . $class; if ( $colspan > 1 ) { - $this->_counter['cell_counter'] += $colspan; + $this->_counter['cell_counter'] += $colspan-1; $this->doc .= ' colspan="'.$colspan.'"'; } $this->doc .= '>'; @@ -849,7 +849,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $class .= '"'; $this->doc .= '<td '.$class; if ( $colspan > 1 ) { - $this->_counter['cell_counter'] += $colspan; + $this->_counter['cell_counter'] += $colspan-1; $this->doc .= ' colspan="'.$colspan.'"'; } $this->doc .= '>'; |