summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-07-25 13:52:43 +0200
committerAndreas Gohr <andi@splitbrain.org>2009-07-25 13:52:43 +0200
commitc078fc55b5ede3d19df62e132b40811e06cc08b7 (patch)
treeb89768a1cdec9d089ea075c36d97747c4a75f7c1 /inc
parentebbde2b17bb6537aa9cf489a174cdbedee5d6ebc (diff)
downloadrpg-c078fc55b5ede3d19df62e132b40811e06cc08b7.tar.gz
rpg-c078fc55b5ede3d19df62e132b40811e06cc08b7.tar.bz2
make sure email addresses are correctly obfuscated FS#1722
Ignore-this: 49feffebb48bf10ce99e5d3bf3b4e2e7 darcs-hash:20090725115243-7ad00-12f5c856de534b555577f50666b44f724c760f93.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/parser/xhtml.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 7777490a1..57e9621e1 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -649,7 +649,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$link['style'] = '';
$link['more'] = '';
- $name = $this->_getLinkTitle($name, $address, $isImage);
+ $name = $this->_getLinkTitle($name, '', $isImage);
if ( !$isImage ) {
$link['class']='mail JSnocheck';
} else {
@@ -663,9 +663,6 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
if(empty($name)){
$name = $address;
}
-#elseif($isImage{
-# $name = $this->_xmlEntities($name);
-# }
if($conf['mailguard'] == 'visible') $address = rawurlencode($address);