From b3d353e634614780173506006921f7545ca81305 Mon Sep 17 00:00:00 2001
From: Gerrit Uitslag <klapinklapin@gmail.com>
Date: Sat, 15 Feb 2014 00:00:24 +0100
Subject: [PATCH] wikilink needs wiki target as well

---
 inc/parser/xhtml.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index fbdd8ada6..957dd992b 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -702,6 +702,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
         if(strpos($url,'/') === false) {
             list($url, $urlparam) = explode('?', $url, 2);
             $url = wl($url, $urlparam);
+            $link['target'] = $conf['target']['wiki'];
         }
 
         if ( !$isImage ) {
-- 
GitLab