summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAnika Henke <anika@zopa.com>2015-02-19 20:10:45 +0000
committerAnika Henke <anika@zopa.com>2015-02-19 20:10:45 +0000
commit5a93f8690b91ddfa9a37a081f72d245833b4aefa (patch)
treef4c961728257b417800e29c319780454cb75b518 /inc/parser
parentf8803275a58a05b29e4029cc539a6f8c60ad2ea5 (diff)
downloadrpg-5a93f8690b91ddfa9a37a081f72d245833b4aefa.tar.gz
rpg-5a93f8690b91ddfa9a37a081f72d245833b4aefa.tar.bz2
add missing tabletbody_open|close() to renderer
Diffstat (limited to 'inc/parser')
-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