Initial import of transcript pipeline

This commit is contained in:
maddin
2026-04-15 00:01:38 +02:00
commit fea662392c
305 changed files with 40508 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
export const escapeHTML = (unsafe: string) => {
return unsafe
.replaceAll("&", "&")
.replaceAll("<", "&lt;")
.replaceAll(">", "&gt;")
.replaceAll('"', "&quot;")
.replaceAll("'", "&#039;")
}
export const unescapeHTML = (html: string) => {
return html
.replaceAll("&amp;", "&")
.replaceAll("&lt;", "<")
.replaceAll("&gt;", ">")
.replaceAll("&quot;", '"')
.replaceAll("&#039;", "'")
}