diff options
| author | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-01-05 15:02:47 +0000 |
|---|---|---|
| committer | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-01-05 15:02:47 +0000 |
| commit | c871414e036c6f0066fcae85a81aad9a5c5b38c6 (patch) | |
| tree | ecf30cebe5d81652c15d967be9f19a36925db846 | |
| parent | f62e6ba72a86aee0df3aae670dcf52ec7a391980 (diff) | |
Fix unquoted HTML attributes (closes #1484190)
git-svn-id: https://svn.roundcube.net/trunk@446 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 83f170d16..522a1c2bb 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1252,6 +1252,7 @@ function rcmail_mod_html_body($body, $container_id) // parse link attributes and set correct target function rcmail_alter_html_link($in) { + $in = preg_replace('/=([^("|\s)]+)(\s|$)/', '="\1"', $in); $attrib = parse_attrib_string($in); if (stristr((string)$attrib['href'], 'mailto:')) |
