Skip to content
Snippets Groups Projects
Commit 352eb3cf authored by Kai Poggensee's avatar Kai Poggensee
Browse files

allow empty interwikilinks

This patch changes the last quantifier in interwiki regexp to "*",
allowing constructs like "MyWiki>".

darcs-hash:20050922165958-5de9f-912efa15d90a109a2e02a74d14e0fa4de809b963.gz
parent 7bc7a78e
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment