{"version":3,"file":"htmlEscape.cjs","sources":["../../src/misc/htmlEscape.js"],"sourcesContent":["const htmlEscape = function (str) {\n    return str\n        .replaceAll('&', '&amp;')\n        .replaceAll('\"', '&quot;')\n        .replaceAll(\"'\", '&#39;') // https://stackoverflow.com/questions/2083754/why-shouldnt-apos-be-used-to-escape-single-quotes\n        .replaceAll('<', '&lt;')\n        .replaceAll('>', '&gt;');\n};\n\nexport { htmlEscape };\n"],"names":["str","replaceAll"],"mappings":";mBAAmB,SAAUA,KACzB,OAAOA,IACFC,WAAW,IAAK,SAChBA,WAAW,IAAK,UAChBA,WAAW,IAAK,SAChBA,WAAW,IAAK,QAChBA,WAAW,IAAK,OACzB"}