Changeset 1046 for trunk/include
- Timestamp:
- Feb 17, 2006, 3:41:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_category.inc.php
r1042 r1046 161 161 } 162 162 } 163 $cat['comment'] = nl2br($cat['comment']); 163 global $conf; 164 if ( !( $conf['allow_html_descriptions'] and 165 preg_match('/<(div|br|img).*>/i', $cat['comment']) ) ) 166 { 167 $cat['comment'] = nl2br($cat['comment']); 168 } 164 169 165 170 $names = array();
Note: See TracChangeset
for help on using the changeset viewer.