mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
build(utils): build26 from 45504a2b
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
//#region src/string/escape-html.ts
|
||||
function escapeHtml(str) {
|
||||
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/`/g, "`");
|
||||
}
|
||||
//#endregion
|
||||
export { escapeHtml };
|
||||
|
||||
//# sourceMappingURL=escape-html.js.map
|
||||
Reference in New Issue
Block a user