Skip to content

Commit 60ce234

Browse files
authored
Merge commit from fork
IBX-9181: Changed innerHTML to innerText
2 parents 1671a3d + 8ec824a commit 60ce234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const modifyPopperConfig = (iframe, defaultBsPopperConfig) => {
8282
const getTextHeight = (text, styles) => {
8383
const tag = doc.createElement('div');
8484

85-
tag.innerHTML = text;
85+
tag.innerText = text;
8686

8787
for (const key in styles) {
8888
tag.style[key] = styles[key];

0 commit comments

Comments
 (0)