diff --git a/web/js/src/armyc2/c2sd/renderer/utilities/SVGTextInfo.js b/web/js/src/armyc2/c2sd/renderer/utilities/SVGTextInfo.js index 25a2c992..6cf18f9d 100644 --- a/web/js/src/armyc2/c2sd/renderer/utilities/SVGTextInfo.js +++ b/web/js/src/armyc2/c2sd/renderer/utilities/SVGTextInfo.js @@ -135,13 +135,16 @@ armyc2.c2sd.renderer.utilities.SVGTextInfo = function (text, anchorPoint, fontIn //catch special characters that break SVGs as base64 dataURIs if(format === 1) { + //got codes from: http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php + //and https://unicodelookup.com (use HTML code) text = text.replace(/\&/g,"&"); text = text.replace(/\