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.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 2379d60ff..d2d201282 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -402,13 +402,6 @@ class Doku_Handler {
array($link[0],$link[1]),
$pos
);
- }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) {
- // E-Mail
- $this->_addCall(
- 'emaillink',
- array($link[0],$link[1]),
- $pos
- );
}elseif ( preg_match('#^([a-z0-9]+?)://#i',$link[0]) ) {
// external link (accepts all protocols)
$this->_addCall(
@@ -416,6 +409,13 @@ class Doku_Handler {
array($link[0],$link[1]),
$pos
);
+ }elseif ( preg_match('#([a-z0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)#i',$link[0]) ) {
+ // E-Mail
+ $this->_addCall(
+ 'emaillink',
+ array($link[0],$link[1]),
+ $pos
+ );
}elseif ( preg_match('!^#.+!',$link[0]) ){
// local link
$this->_addCall(