Emile Bangma
2024-12-17 ff9e60a7fce0f642dfb8a1ee0042f0d3da848411
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;", "'")
}