- Patch #864584 by cwgordon7: filter format names not properly escaped.
parent
1d48f07fc7
commit
2010617151
|
@ -1075,7 +1075,7 @@ function theme_filter_tips_more_info() {
|
|||
function theme_filter_guidelines($variables) {
|
||||
$format = $variables['format'];
|
||||
|
||||
$name = isset($format->name) ? '<label>' . $format->name . ':</label>' : '';
|
||||
$name = isset($format->name) ? '<label>' . check_plain($format->name) . ':</label>' : '';
|
||||
$attributes['class'][] = 'filter-guidelines-item';
|
||||
$attributes['class'][] = 'filter-guidelines-' . $format->format;
|
||||
return '<div' . drupal_attributes($attributes) . '>' . $name . theme('filter_tips', array('tips' => _filter_tips($format->format, FALSE))) . '</div>';
|
||||
|
|
Loading…
Reference in New Issue