diff --git a/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js b/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js index c8f4905c7f..10921a16d5 100644 --- a/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js +++ b/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js @@ -112,6 +112,7 @@ const extraClass = tooltipNode.dataset.tooltipExtraClass ?? ''; const placement = tooltipNode.dataset.tooltipPlacement ?? 'bottom'; const trigger = tooltipNode.dataset.tooltipTrigger ?? 'hover focus'; + const useHtml = tooltipNode.dataset.tooltipUseHtml !== undefined; const container = tooltipNode.dataset.tooltipContainerSelector ? tooltipNode.closest(tooltipNode.dataset.tooltipContainerSelector) : 'body'; @@ -132,7 +133,7 @@ trigger, container, popperConfig: modifyPopperConfig.bind(null, iframe), - html: true, + html: useHtml, template: `
diff --git a/src/bundle/Resources/views/themes/admin/content/edit/content_header.html.twig b/src/bundle/Resources/views/themes/admin/content/edit/content_header.html.twig index 2e1a18d07c..df66d3e9f1 100644 --- a/src/bundle/Resources/views/themes/admin/content/edit/content_header.html.twig +++ b/src/bundle/Resources/views/themes/admin/content/edit/content_header.html.twig @@ -10,7 +10,11 @@
{% if (description is defined and description|length) or content is defined %} -
+
diff --git a/src/bundle/Resources/views/themes/admin/ui/edit_header.html.twig b/src/bundle/Resources/views/themes/admin/ui/edit_header.html.twig index b9232c2279..ff6cb6e78b 100644 --- a/src/bundle/Resources/views/themes/admin/ui/edit_header.html.twig +++ b/src/bundle/Resources/views/themes/admin/ui/edit_header.html.twig @@ -34,7 +34,11 @@

{{ title }} {% if (description is defined and description|length) or content is defined and content is not null %} -
+