export default function html_Entity_Parser(text: string): string { return text.replace(entityRegExp, replacer);}const replacer = (a: string) => { const value = translator.get(a); return value ?? a;};const translator = new Map<string, string>([ [""", '"'], ["'", "'"], ["&", "&"], [">", ">"], ["<", "<"], ["⁄", "/"],]);const entityRegExp = /\&[a-z]+\;/g;