summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 00:00:24 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-15 00:00:24 +0100
commitb3d353e634614780173506006921f7545ca81305 (patch)
tree2f6e17a45685ce5d52f3bfb562e25c97c317a9f6
parent7c2f8eec8f8dbd26e20f8afc516e38d5c6f1cc02 (diff)
downloadrpg-b3d353e634614780173506006921f7545ca81305.tar.gz
rpg-b3d353e634614780173506006921f7545ca81305.tar.bz2
wikilink needs wiki target as well
-rw-r--r--inc/parser/xhtml.php1
1 files changed, 1 insertions, 0 deletions
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 ) {