diff --git a/core/lib/Drupal/Core/Render/Element/HtmlTag.php b/core/lib/Drupal/Core/Render/Element/HtmlTag.php index 1576ca0..195dc6e 100644 --- a/core/lib/Drupal/Core/Render/Element/HtmlTag.php +++ b/core/lib/Drupal/Core/Render/Element/HtmlTag.php @@ -76,8 +76,8 @@ public function getInfo() { public static function preRenderHtmlTag($element) { $attributes = isset($element['#attributes']) ? new Attribute($element['#attributes']) : ''; - // An html tag should not contain any special characters. Escape them to - // ensure this can not be abused. + // An HTML tag should not contain any special characters. Escape them to + // ensure this cannot be abused. $escaped_tag = htmlspecialchars($element['#tag'], ENT_QUOTES, 'UTF-8'); $markup = '<' . $escaped_tag . $attributes; // Construct a void element.