Page MenuHomeSealhub

sanitize.ts
No OneTemporary

sanitize.ts

export function attribute(raw: string): string {
return raw
.replaceAll("<", "&lt;")
.replace('"', "&quot;")
.replaceAll("'", "&#39;");
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 2, 18:37 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1004624
Default Alt Text
sanitize.ts (145 B)

Event Timeline