- Patch #864584 by cwgordon7: filter format names not properly escaped.

merge-requests/26/head
Dries Buytaert 2010-08-01 19:50:33 +00:00
parent 1d48f07fc7
commit 2010617151
1 changed files with 1 additions and 1 deletions

View File

@ -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>';