Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F969771
sanitize.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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
text/plain
Expires
Sat, Nov 23, 17:40 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
548013
Default Alt Text
sanitize.ts (221 B)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment