mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
update
This commit is contained in:
1 parent
dcae8bb82f
commit
6bb7c9047f
26 files changed
+399
-2530
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// js/utils/htmlUtils.js
|
||||
export function escapeHTML(unsafe) {
|
||||
return unsafe
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")
|
||||
.replace(/"/g, """)
|
||||
.replace(/'/g, "'");
|
||||
}
|
||||
Reference in new issue
Block a user