Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22393892
sanitize.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
221 B
Referenced Files
None
Subscribers
None
sanitize.ts
View Options
export
function
attribute
(
raw
:
string
|
number
)
:
string
{
if
(
typeof
raw
!==
"string"
)
{
raw
=
raw
.
toString
();
}
return
(
raw
||
""
)
.
replaceAll
(
"<"
,
"<"
)
.
replace
(
'"'
,
"""
)
.
replaceAll
(
"'"
,
"'"
);
}
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 16:11 (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1198927
Default Alt Text
sanitize.ts (221 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline