summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2013-10-17 23:11:33 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2013-10-17 23:11:33 +0200
commitf05a1cc5fcdb4c2b6ee3cbf499f980f800dbd105 (patch)
treeace0cef0ea269a14b0879dd351f14d841925c306 /inc/parser/xhtml.php
parenta467e020fa551217347181ffd6915c7d29e6ff59 (diff)
downloadrpg-f05a1cc5fcdb4c2b6ee3cbf499f980f800dbd105.tar.gz
rpg-f05a1cc5fcdb4c2b6ee3cbf499f980f800dbd105.tar.bz2
Wrap thead around 1st row, when 1st cell at 1st row is tableheader. Implements FS#1764
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index fd02c0ce0..e9f2cc037 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -946,6 +946,14 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
}
+ function tablethead_open(){
+ $this->doc .= DOKU_TAB . '<thead>' . DOKU_LF;
+ }
+
+ function tablethead_close(){
+ $this->doc .= DOKU_TAB . '</thead>' . DOKU_LF;
+ }
+
function tablerow_open(){
// initialize the cell counter used for classes
$this->_counter['cell_counter'] = 0;