diff --git a/modules/oe_bootstrap_theme_helper/src/Plugin/Block/MegaMenuBlock.php b/modules/oe_bootstrap_theme_helper/src/Plugin/Block/MegaMenuBlock.php index e320c3cbb..49f09b113 100644 --- a/modules/oe_bootstrap_theme_helper/src/Plugin/Block/MegaMenuBlock.php +++ b/modules/oe_bootstrap_theme_helper/src/Plugin/Block/MegaMenuBlock.php @@ -239,7 +239,10 @@ protected function buildContentBlock(array $item): array { $content_block = [ 'title' => [ '#type' => 'html_tag', - '#tag' => 'h4', + '#tag' => 'div', + '#attributes' => [ + 'class' => ['h4'], + ], '#value' => $item['title'], ], ]; diff --git a/modules/oe_bootstrap_theme_helper/tests/src/Kernel/MegaMenuBlockTest.php b/modules/oe_bootstrap_theme_helper/tests/src/Kernel/MegaMenuBlockTest.php index 1ee330bc6..e431c85ad 100644 --- a/modules/oe_bootstrap_theme_helper/tests/src/Kernel/MegaMenuBlockTest.php +++ b/modules/oe_bootstrap_theme_helper/tests/src/Kernel/MegaMenuBlockTest.php @@ -148,7 +148,10 @@ protected function addTree(array &$expected_items, string $name, bool $nolink = 'content_block' => [ 'title' => [ '#type' => 'html_tag', - '#tag' => 'h4', + '#tag' => 'div', + '#attributes' => [ + 'class' => ['h4'], + ], '#value' => "Link to '$name'", ], 'text' => [ diff --git a/package.json b/package.json index eab4f959b..b0562e972 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "production": "npm-run-all build:*" }, "devDependencies": { - "@openeuropa/bcl-builder": "0.1.202601141030", - "@openeuropa/bcl-theme-default": "0.1.202601141030", + "@openeuropa/bcl-builder": "0.4360.202601141610", + "@openeuropa/bcl-theme-default": "0.4360.202601141610", "bootstrap-ie11": "5.0.2", "chokidar-cli": "^3.0.0", "copyfiles": "2.4.1",