summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 102958c9d..827666ef4 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -130,7 +130,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
'type' => 'ul',
'level' => $level-$conf['toptoclevel']+1);
}
- }
+ }
function header($text, $level, $pos) {
@@ -347,6 +347,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
}
+ function phpblock($text) {
+ $this->php($text);
+ }
+
/**
* Insert HTML if allowed
*
@@ -361,6 +365,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
}
+ function htmlblock($text) {
+ $this->html($text);
+ }
+
function preformatted($text) {
$this->doc .= '<pre class="code">' . $this->_xmlEntities($text) . '</pre>'. DOKU_LF;
}