diff options
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r-- | include/functions_category.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php index 939a72e77..ceef3025d 100644 --- a/include/functions_category.inc.php +++ b/include/functions_category.inc.php @@ -142,7 +142,7 @@ SELECT '.implode(',', $infos).' } global $conf; if ( !( $conf['allow_html_descriptions'] and - preg_match('/<(div|br|img).*>/i', $cat['comment']) ) ) + preg_match('/<(div|br|img|script).*>/i', $cat['comment']) ) ) { $cat['comment'] = nl2br($cat['comment']); } |