From c6e62e9f46b1129c1c2ac7eb08faf800115be9e9 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 13 Nov 2006 13:41:08 +0100 Subject: 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 --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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 { -- cgit v1.2.3