fl0werpowers
2025-05-28 951d1dec24eb8e0bea4ec548cc79c5ce718bf02f
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;", "'")
}