summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index d69c2be22..b1334d946 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -362,22 +362,22 @@ class Doku_Handler {
//decide which kind of link it is
if ( preg_match('/^[a-zA-Z]+>{1}.+$/u',$link[0]) ) {
- // Interwiki
+ // Interwiki
$interwiki = preg_split('/>/u',$link[0]);
$this->_addCall(
'interwikilink',
array($link[0],$link[1],strtolower($interwiki[0]),$interwiki[1]),
$pos
);
- }elseif ( preg_match('/\\\\\\\\[\w.:?\-;,]+?\\\\/u',$link[0]) ) {
- // Windows Share
+ }elseif ( preg_match('/\\\\\\\\[\w.:?\-;,]+?\\\\/u',$link[0]) ) {
+ // Windows Share
$this->_addCall(
'windowssharelink',
array($link[0],$link[1]),
$pos
);
- }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) {
- // E-Mail
+ }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) {
+ // E-Mail
$this->_addCall(
'emaillink',
array($link[0],$link[1]),