From 38c08c2be9122c742a3ff6c2815dbc1f515476d1 Mon Sep 17 00:00:00 2001 From: Alexandre ROSSI Date: Fri, 22 Jul 2005 19:02:10 +0200 Subject: Fixed email link validation issue in 'visible' mode to conform RFC1738 darcs-hash:20050722170210-5338b-86561e364705cd92c690ae636e0a87f84a0d1672.gz --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/parser') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 14182d983..53802c633 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -681,7 +681,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } } - $link['url'] = 'mailto:'.$address; + $link['url'] = 'mailto:'.rawurlencode($address); $link['name'] = $name; $link['title'] = $title; -- cgit v1.2.3