summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-18 20:40:11 +0200
committerandi <andi@splitbrain.org>2005-04-18 20:40:11 +0200
commit71352def8211fd38eafe887a9ccd0e5365b34962 (patch)
tree77229b6da810d80dba09a61493cc8a1d87a99e5a /inc/parser/parser.php
parentbb0a59d46949357f85e4a8deabff585e56b906e5 (diff)
downloadrpg-71352def8211fd38eafe887a9ccd0e5365b34962.tar.gz
rpg-71352def8211fd38eafe887a9ccd0e5365b34962.tar.bz2
fixed email links #259
darcs-hash:20050418184011-9977f-acd3a6583e08ce3732af5ffc4fdc3027e284173e.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index 7e122bffc..687ae5170 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -748,11 +748,11 @@ class Doku_Parser_Mode_WindowsShareLink extends Doku_Parser_Mode {
}
//-------------------------------------------------------------------
-class Doku_Parser_Mode_Email extends Doku_Parser_Mode {
+class Doku_Parser_Mode_EmailLink extends Doku_Parser_Mode {
function connectTo($mode) {
//<([\w0-9\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)>
- $this->Lexer->addSpecialPattern("<[\w0-9\-_.]+?@[\w\-]+\.[\w\-\.]+\.*[\w]+>",$mode,'email');
+ $this->Lexer->addSpecialPattern("<[\w0-9\-_.]+?@[\w\-]+\.[\w\-\.]+\.*[\w]+>",$mode,'emaillink');
}
}
@@ -808,7 +808,7 @@ function Doku_Parser_Formatting($remove = '') {
function Doku_Parser_Substition() {
$modes = array(
'acronym','smiley','wordblock','entity','camelcaselink',
- 'internallink','media','externallink','linebreak','email',
+ 'internallink','media','externallink','linebreak','emaillink',
'windowssharelink','filelink','notoc','multiplyentity',
'quotes','rss'