summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-02-23 12:09:16 +0100
committerAndreas Gohr <andi@splitbrain.org>2015-02-23 12:09:16 +0100
commitd30d6d6f01f0595d36cd15542d58b89cf8680ac0 (patch)
tree2860d9e80a7034be61b9bdd32070bab7e322825c /inc
parent6b25bf2a96e0297108751657c5c605243a06f1a2 (diff)
parent5a93f8690b91ddfa9a37a081f72d245833b4aefa (diff)
downloadrpg-d30d6d6f01f0595d36cd15542d58b89cf8680ac0.tar.gz
rpg-d30d6d6f01f0595d36cd15542d58b89cf8680ac0.tar.bz2
Merge pull request #1048 from splitbrain/add-tbody
Add missing tbody to renderer
Diffstat (limited to 'inc')
-rw-r--r--inc/parser/renderer.php12
-rw-r--r--inc/parser/xhtml.php16
2 files changed, 27 insertions, 1 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index e1d28267a..35bdd0e3f 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -708,6 +708,18 @@ class Doku_Renderer extends DokuWiki_Plugin {
}
/**
+ * Open a table body
+ */
+ function tabletbody_open() {
+ }
+
+ /**
+ * Close a table body
+ */
+ function tabletbody_close() {
+ }
+
+ /**
* Open a table row
*/
function tablerow_open() {
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index c68d206be..d1bf91a02 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -1290,6 +1290,20 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
/**
+ * Open a table body
+ */
+ function tabletbody_open() {
+ $this->doc .= DOKU_TAB.'<tbody>'.DOKU_LF;
+ }
+
+ /**
+ * Close a table body
+ */
+ function tabletbody_close() {
+ $this->doc .= DOKU_TAB.'</tbody>'.DOKU_LF;
+ }
+
+ /**
* Open a table row
*/
function tablerow_open() {
@@ -1753,7 +1767,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$out .= '</audio>'.NL;
return $out;
}
-
+
/**
* _getLastMediaRevisionAt is a helperfunction to internalmedia() and _media()
* which returns an existing media revision less or equal to rev or date_at