Changeset 22518
- Timestamp:
- May 6, 2013, 11:24:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r22505 r22518 584 584 } 585 585 586 if (!empty($ comment))587 { 588 $info['comment'] = trigger_event('render_element_description', $info['comment']);586 if (!empty($info['comment'])) 587 { 588 $info['comment'] = htmlspecialchars(strip_tags(trigger_event('render_element_description', $info['comment']))); 589 589 $title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : ''); 590 590 }
Note: See TracChangeset
for help on using the changeset viewer.