summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
committerchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
commit04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15 (patch)
treef2a0e5062f11e393a0621324e971626f1b5d8c7d /inc/parser
parentba5dadc95a458f1ce06b6c61978acf9330c9f3d5 (diff)
parent8a6a4be3f464afb3d69b51b74d95e8fbf21ea2df (diff)
downloadrpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.gz
rpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.bz2
Merge pull request #1 from splitbrain/master
Test
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