Fix unquoted HTML attributes (closes #1484190)

release-0.6
svncommit 18 years ago
parent 462a9d991d
commit 18a0df23fc

@ -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:'))

Loading…
Cancel
Save