diff --git a/web/client/utils/MarkerUtils.js b/web/client/utils/MarkerUtils.js index d7ed526bfe..8d5d6b6c07 100644 --- a/web/client/utils/MarkerUtils.js +++ b/web/client/utils/MarkerUtils.js @@ -27,7 +27,7 @@ const loadGlyphs = (font) => { return Object.keys(fontJSON).reduce((acc, key) => { return { ...acc, - [key]: eval("'\\u" + fontJSON[key] + "'") // eslint-disable-line + [key]: String.fromCharCode(parseInt(fontJSON[key], 16)) }; }, {}); };