Buckets:

imerfanrajabee's picture
download
raw
842 Bytes
import { directive } from '../directive.js';
import { UnsafeHTMLDirective } from './unsafe-html.js';
/**
* @license
* Copyright 2024 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
const MATHML_RESULT = 3;
class UnsafeMathMLDirective extends UnsafeHTMLDirective {
}
UnsafeMathMLDirective.directiveName = 'unsafeMath';
UnsafeMathMLDirective.resultType = MATHML_RESULT;
/**
* Renders the result as MathML, rather than text.
*
* The values `undefined`, `null`, and `nothing`, will all result in no content
* (empty string) being rendered.
*
* Note, this is unsafe to use with any user-provided input that hasn't been
* sanitized or escaped, as it may lead to cross-site-scripting
* vulnerabilities.
*/
const unsafeMathML = directive(UnsafeMathMLDirective);
export { unsafeMathML };
//# sourceMappingURL=unsafe-mathml.js.map

Xet Storage Details

Size:
842 Bytes
·
Xet hash:
e2f30d24289830ecaacbec13a1118925489153482b5438c89bf2b21fb6e80c6f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.