Ben Schlegel
2024-11-12 137d55eb1b64e87ff6f3cec52786e5e1bb68798e
quartz/util/escape.ts
@@ -6,3 +6,12 @@
    .replaceAll('"', """)
    .replaceAll("'", "'")
}
export const unescapeHTML = (html: string) => {
  return html
    .replaceAll("&", "&")
    .replaceAll("&lt;", "<")
    .replaceAll("&gt;", ">")
    .replaceAll("&quot;", '"')
    .replaceAll("&#039;", "'")
}