From 352eb3cff74515de164e4c38ecd0053521e37bea Mon Sep 17 00:00:00 2001 From: Kai Poggensee Date: Thu, 22 Sep 2005 18:59:58 +0200 Subject: allow empty interwikilinks This patch changes the last quantifier in interwiki regexp to "*", allowing constructs like "MyWiki>". darcs-hash:20050922165958-5de9f-912efa15d90a109a2e02a74d14e0fa4de809b963.gz --- inc/parser/handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser') diff --git a/inc/parser/handler.php b/inc/parser/handler.php index c165e0a87..53b6e8ea6 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -396,7 +396,7 @@ class Doku_Handler { //decide which kind of link it is - if ( preg_match('/^[a-zA-Z]+>{1}.+$/u',$link[0]) ) { + if ( preg_match('/^[a-zA-Z]+>{1}.*$/u',$link[0]) ) { // Interwiki $interwiki = preg_split('/>/u',$link[0]); $this->_addCall( -- cgit v1.2.3