We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7d8e4 commit c56b4e3Copy full SHA for c56b4e3
lib/internal/Magento/Framework/View/Helper/SecureHtmlRender/HtmlRenderer.php
@@ -74,7 +74,7 @@ public function renderTag(TagData $tagData): string
74
}
75
76
$html = '<' .$tagData->getTag() .$attributesHtml;
77
- if (in_array($tagData->getTag(), self::VOID_ELEMENTS)) {
+ if (isset(self::VOID_ELEMENTS_MAP[$tagData->getTag()])) {
78
$html .= '/>';
79
} else {
80
$html .= '>' .$content .'</' .$tagData->getTag() .'>';
0 commit comments