diff options
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index f9f6be1e6..b58c24435 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -19,6 +19,7 @@ if ( !defined('DOKU_TAB') ) { } require_once DOKU_INC . 'inc/parser/renderer.php'; +require_once DOKU_INC . 'inc/pluginutils.php'; /** * The Renderer @@ -41,7 +42,6 @@ class Doku_Renderer_xhtml extends Doku_Renderer { var $store = ''; - function document_start() { } @@ -57,6 +57,14 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $this->doc .= '</div>'.DOKU_LF; } } + + //handles plugin rendering + function plugin($name,$data){ + $plugin = null; + if(plugin_load('syntax',$name,$plugin)){ + $plugin->render('xhtml',$this,$data); + } + } function toc_open() { global $lang; |