diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter/filter.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 29c8e798f..5ad6da298 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1278,7 +1278,7 @@ function filter_xss($string, $allowed_tags = array('a', 'em', 'strong', 'cite', return preg_replace_callback('% ( - <(?=[^a-zA-Z/]) # a lone < + <(?=[^a-zA-Z!/]) # a lone < | # or <[^>]*.(>|$) # a string that starts with a <, up until the > or the end of the string | # or |