diff options
-rw-r--r-- | modules/filter.module | 5 | ||||
-rw-r--r-- | modules/filter/filter.module | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/modules/filter.module b/modules/filter.module index 2ee9f1743..280f53a21 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -1092,8 +1092,7 @@ function filter_xss($string, $format) { <[^>]*.(>|$) # a string that starts with a <, up until the > or the end of the string | # or > # just a > - )%x - ', '_filter_xss_split', $string); + )%x', '_filter_xss_split', $string); } /** @@ -1114,7 +1113,7 @@ function _filter_xss_split($m) { return; } - $string = &$m[1]; + $string = $m[1]; if (substr($string, 0, 1) != '<') { // We matched a lone ">" character diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 2ee9f1743..280f53a21 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1092,8 +1092,7 @@ function filter_xss($string, $format) { <[^>]*.(>|$) # a string that starts with a <, up until the > or the end of the string | # or > # just a > - )%x - ', '_filter_xss_split', $string); + )%x', '_filter_xss_split', $string); } /** @@ -1114,7 +1113,7 @@ function _filter_xss_split($m) { return; } - $string = &$m[1]; + $string = $m[1]; if (substr($string, 0, 1) != '<') { // We matched a lone ">" character |