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: `