diff --git a/core/includes/theme.inc b/core/includes/theme.inc index cb91af1..d2ee056 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1726,9 +1726,7 @@ function _field_multiple_value_form_sort_helper($a, $b) { function template_preprocess_html_tag(&$variables) { $element = $variables['element']; - // An HTML tag should not contain any special characters. Escape them to - // ensure this cannot be abused. - $variables['tag'] = Html::escape($element['#tag']); + $variables['tag'] = $element['#tag']; $variables['attributes'] = $element['#attributes']; $variables['children'] = (isset($element['#children'])) ? $element['#children'] : ''; $variables['value'] = (isset($element['#value'])) ? $element['#value'] : '';