Skip to content

Commit e46aaa1

Browse files
authored
add aside element
add html5 aside element to the allowed tags in containers
1 parent aeae1c0 commit e46aaa1

File tree

1 file changed

+2
-1
lines changed
  • lib/internal/Magento/Framework/View/Layout/Generator

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/View/Layout/Generator/Container.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ class Container implements Layout\GeneratorInterface
2424
* @var array
2525
*/
2626
protected $allowedTags = [
27+
'aside',
2728
'dd',
2829
'div',
2930
'dl',
3031
'fieldset',
3132
'main',
33+
'nav',
3234
'header',
3335
'footer',
3436
'ol',
@@ -37,7 +39,6 @@ class Container implements Layout\GeneratorInterface
3739
'table',
3840
'tfoot',
3941
'ul',
40-
'nav',
4142
];
4243

4344
/**

0 commit comments

Comments
 (0)