summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-02-06 12:12:05 +0100
committerAndreas Gohr <andi@splitbrain.org>2011-02-06 12:12:05 +0100
commitc34c77725873a495f375a815dd89be723cd2a512 (patch)
treec5b0ba7ece58ae755b040b9da2fcc823fa599861 /inc/parser
parent5d190f120cede5be1da521fd1dc6e1beb0be394e (diff)
downloadrpg-c34c77725873a495f375a815dd89be723cd2a512.tar.gz
rpg-c34c77725873a495f375a815dd89be723cd2a512.tar.bz2
make IPv6 links in link syntax FS#2137
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index a1f9c9fe6..a7764ee9c 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -828,7 +828,7 @@ class Doku_Parser_Mode_internallink extends Doku_Parser_Mode {
function connectTo($mode) {
// Word boundaries?
- $this->Lexer->addSpecialPattern("\[\[.+?\]\]",$mode,'internallink');
+ $this->Lexer->addSpecialPattern("\[\[(?:(?:.*?\[.*?\])|.+?)\]\]",$mode,'internallink');
}
function getSort() {