summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-11-13 13:41:08 +0100
committerchris <chris@jalakai.co.uk>2006-11-13 13:41:08 +0100
commitc6e62e9f46b1129c1c2ac7eb08faf800115be9e9 (patch)
treeb577deaff36f1dae1de36739807d53259ac90ce4 /inc/parser
parent3fc667cfbc05c58679586aeccdb47438798a8e15 (diff)
downloadrpg-c6e62e9f46b1129c1c2ac7eb08faf800115be9e9.tar.gz
rpg-c6e62e9f46b1129c1c2ac7eb08faf800115be9e9.tar.bz2
obfuscate email address when it is used in mailto links (bug#977)
This patch applies when no alternate link text is supplied and the actual email address would be used as the link text. darcs-hash:20061113124108-9b6ab-bd8109100b9305a1a04964d226c779aa320df64c.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 4680ea123..ec5927b1f 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -672,7 +672,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 {