File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function convert($source)
44
44
case 'parameters ' :
45
45
/** @var $parameter \DOMNode */
46
46
foreach ($ widgetSubNode ->childNodes as $ parameter ) {
47
- if ($ parameter ->nodeName === '#text ' ) {
47
+ if ($ parameter ->nodeName === '#text ' || $ parameter -> nodeName === ' #comment ' ) {
48
48
continue ;
49
49
}
50
50
$ subNodeAttributes = $ parameter ->attributes ;
@@ -57,7 +57,7 @@ public function convert($source)
57
57
$ widgetArray ['supported_containers ' ] = [];
58
58
}
59
59
foreach ($ widgetSubNode ->childNodes as $ container ) {
60
- if ($ container ->nodeName === '#text ' ) {
60
+ if ($ container ->nodeName === '#text ' || $ container -> nodeName === ' #comment ' ) {
61
61
continue ;
62
62
}
63
63
$ widgetArray ['supported_containers ' ] = array_merge (
Original file line number Diff line number Diff line change 11
11
<label translate =" true" >Orders and Returns</label >
12
12
<description translate =" true" >Orders and Returns Search Form</description >
13
13
<parameters >
14
+ <!-- Comment added to check fix to https://github.com/magento/magento2/issues/3882 -->
14
15
<parameter name =" title" xsi : type =" text" visible =" false" >
15
16
<label translate =" true" >Anchor Custom Title</label >
16
17
</parameter >
54
55
</parameter >
55
56
</parameters >
56
57
<containers >
58
+ <!-- Comment added to check fix to https://github.com/magento/magento2/issues/3882 -->
57
59
<container name =" left" >
58
60
<template name =" default" value =" default_template" />
59
61
</container >
You can’t perform that action at this time.
0 commit comments