Add Deployment

This commit is contained in:
2025-07-18 14:47:22 +03:30
parent 7f3e11ebc4
commit ca675c1a3d
1533 changed files with 32177 additions and 127 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;", "'")
}