From 8870fa9e826fdae006b83fa7a47a9e78333ba56a Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 21 Mar 2007 09:56:49 +0000 Subject: Minor bugfixes posted to the dev-mailing list git-svn-id: https://svn.roundcube.net/trunk@515 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/mail/func.inc') diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index e5e4db837..1b98f1d52 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1252,7 +1252,7 @@ function rcmail_sanitize_html($body, $container_id) // parse link attributes and set correct target function rcmail_alter_html_link($in) { - $in = preg_replace('/=([^("|\s)]+)(\s|$)/', '="\1"', $in); + $in = preg_replace('/=([^("|\'|\s)]+)(\s|$)/', '="\1"', $in); $attrib = parse_attrib_string($in); if (stristr((string)$attrib['href'], 'mailto:')) -- cgit v1.2.3