dashboard
repositories
filestore
activity
search
login
scapegoat
/
Docs2
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
feat: Add an option to display or not reading time from notes (#707)
LUCASTUCIOUS
2024-01-20
c11395e7bcd75eef37b4f4e9c67dc9c6f912c0b7
[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("'", "'")
}