Aswanth
2025-05-24 6d49d975598cd7f48e2b7347c2b83d8aac6a2f56
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;", "'")
}