diff --git a/src/bundle/Resources/public/js/scripts/helpers/text.helper.js b/src/bundle/Resources/public/js/scripts/helpers/text.helper.js index b86c7e9250..3fee9c5fc0 100644 --- a/src/bundle/Resources/public/js/scripts/helpers/text.helper.js +++ b/src/bundle/Resources/public/js/scripts/helpers/text.helper.js @@ -7,12 +7,12 @@ return stringTempNode.innerHTML; }; - const escapeHTMLAttribute = (str) => { - if (str === null) { + const escapeHTMLAttribute = (string) => { + if (string === null) { return ''; } - return String(str) + return String(string) .replace(/&/g, '&') .replace(//g, '>')