From 18fbd091d985fc6fcc10d083ae36d61be6960ae4 Mon Sep 17 00:00:00 2001 From: e107steved Date: Mon, 24 Dec 2007 16:12:37 +0000 Subject: [PATCH] Better XHTML compliance on 'mailto' links --- e107_files/bbcode/link.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/e107_files/bbcode/link.bb b/e107_files/bbcode/link.bb index aeca5ace6..da633bcf9 100644 --- a/e107_files/bbcode/link.bb +++ b/e107_files/bbcode/link.bb @@ -26,6 +26,7 @@ global $pref; { list($pre,$email) = explode(":",$parm); list($p1,$p2) = explode("@",$email); + $p2=rawurlencode($p2); // Primarily to pick up spaces, which are not allowed return "".$code_text.""; }