summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_washtml.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-04 09:40:37 +0200
committerAleksander Machniak <alec@alec.pl>2013-10-04 09:42:23 +0200
commitbdc515d35cf75daecbb1a2958bb723a9fc6672be (patch)
tree2501a83062193fc10089fbced5695fbb8dd99c62 /program/lib/Roundcube/rcube_washtml.php
parent9919c2e68c85d7a2225368d1f86bf9798b9d4a9b (diff)
Fixed issues where HTML comments inside style tag would hang Internet Explorer
Conflicts: CHANGELOG
Diffstat (limited to 'program/lib/Roundcube/rcube_washtml.php')
-rw-r--r--program/lib/Roundcube/rcube_washtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_washtml.php b/program/lib/Roundcube/rcube_washtml.php
index 6b2efcc78..f964f8b35 100644
--- a/program/lib/Roundcube/rcube_washtml.php
+++ b/program/lib/Roundcube/rcube_washtml.php
@@ -429,7 +429,7 @@ class rcube_washtml
}
// fix (unknown/malformed) HTML tags before "wash"
- $html = preg_replace_callback('/(<[\/]*)([^\s>]+)/', array($this, 'html_tag_callback'), $html);
+ $html = preg_replace_callback('/(<(?!\!)[\/]*)([^\s>]+)/', array($this, 'html_tag_callback'), $html);
// Remove invalid HTML comments (#1487759)
// Don't remove valid conditional comments