Changeset 1573


Ignore:
Timestamp:
Oct 22, 2006, 12:00:57 AM (18 years ago)
Author:
rub
Message:

Resolved Issue ID 0000567:

o Don't add <BR> for categories with description including <script>

(See category ping-pong, ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_category.inc.php

    r1500 r1573  
    143143  global $conf;
    144144  if ( !( $conf['allow_html_descriptions'] and
    145           preg_match('/<(div|br|img).*>/i', $cat['comment']) ) )
     145          preg_match('/<(div|br|img|script).*>/i', $cat['comment']) ) )
    146146  {
    147147    $cat['comment'] = nl2br($cat['comment']);
Note: See TracChangeset for help on using the changeset viewer.