dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix(umami): format correct string from custom hosts (#826)
Aaron Pham
2024-02-08
51818efc38eae1e4d300f004cb637d2f75a7f41a
[scapegoat/Docs2.git]
/
quartz
/
util
/
escape.ts
1
2
3
4
5
6
7
8
export const escapeHTML = (unsafe: string) => {
return unsafe
.replaceAll("&", "&")
.replaceAll("<", "<")
.replaceAll(">", ">")
.replaceAll('"', """)
.replaceAll("'", "'")
}