xss.js 102 Bytes Raw Blame History Permalink 1 2 3 4 5 export default { replaceIllegal: (str) => { return str.replace(/<[^<>]+>/g, ''); } };