summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 867078ddd..6f99947f9 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -16,9 +16,9 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
function html_wikilink($id,$name=NULL,$search=''){
- require_once(DOKU_INC.'inc/parser/xhtml.php');
static $xhtml_renderer = NULL;
if(is_null($xhtml_renderer)){
+ require_once(DOKU_INC.'inc/parser/xhtml.php');
$xhtml_renderer = new Doku_Renderer_xhtml();
}