diff --git a/server-data/resources/[bpt_addons]/bpt_idcard/html/assets/js/materialize.js b/server-data/resources/[bpt_addons]/bpt_idcard/html/assets/js/materialize.js index 79f6d7c12..0723f47e7 100644 --- a/server-data/resources/[bpt_addons]/bpt_idcard/html/assets/js/materialize.js +++ b/server-data/resources/[bpt_addons]/bpt_idcard/html/assets/js/materialize.js @@ -1244,7 +1244,7 @@ M.guid = function () { * @returns {string} */ M.escapeHash = function (hash) { - return hash.replace(/(:|\.|\[|\]|,|=|\/)/g, "\\$1"); + return hash.replace(/\\/g, "\\\\").replace(/(:|\.|\[|\]|,|=|\/)/g, "\\$1"); }; M.elementOrParentIsFixed = function (element) {