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
Wed, May 7, 19:36 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
627511
Default Alt Text
sanitize.ts (145 B)

Event Timeline