Skip to content

Commit b4b06be

Browse files
committed
MC-15022: HTML Content type does not render self closing html tags on storefront
Fix static failures
1 parent a7c5fa0 commit b4b06be

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

app/code/Magento/PageBuilder/Plugin/Filter/TemplatePlugin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ function ($errorNumber, $errorString) {
154154
* Convert encoded HTML content types to placeholders and generate decoded outer html map for future replacement
155155
*
156156
* @param \DOMDocument $document
157-
* @param array $uniqueNodeNameToDecodedOuterHtmlMap
158157
* @return array - map of unique node name to decoded html
159158
*/
160159
private function generateDecodedHtmlPlaceholderMappingInDocument(\DOMDocument $document): array

dev/tests/integration/_files/Magento/TestModulePageBuilderExtensionPoints/view/frontend/templates/html_content_type.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// @codingStandardsIgnoreFile
8+
69
?>
710
<div data-content-type="html">
811
&lt;img src=&quot;http://example.com&quot;&gt;

dev/tests/integration/_files/Magento/TestModulePageBuilderExtensionPoints/view/frontend/templates/static_html.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// @codingStandardsIgnoreFile
8+
69
?>
710
<div>
811
<img src="http://example.com/block">

dev/tests/integration/_files/Magento/TestModulePageBuilderExtensionPoints/view/frontend/templates/static_text.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// @codingStandardsIgnoreFile
8+
69
?>
710
Hello world

0 commit comments

Comments
 (0)