Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22393178
html.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
460 B
Referenced Files
None
Subscribers
None
html.ts
View Options
import
Text
from
"./text.js"
;
/** A field that stores text meant to be an HTML fragment. Unlike {@link Text}, html-like characters aren't escaped, but instead the content is subject to html sanitization to prevent XSS.
*
* **Params**: see {@link TextStorage}
*/
export
default
class
Html
extends
Text
{
typeName
=
"html"
;
getTypeName
=
()
=>
"html"
;
async
encode
(
_
:
any
,
input
:
string
)
{
if
(
input
===
null
)
{
return
null
;
}
return
input
;
}
}
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 15:59 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1212301
Default Alt Text
html.ts (460 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline