Page MenuHomeSealhub

html.ts
No OneTemporary

Authored By
Unknown
Size
460 B
Referenced Files
None
Subscribers
None
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

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)

Event Timeline