MCPcopy Create free account
hub / github.com/cure53/DOMPurify / UseProfilesConfig

Interface UseProfilesConfig

src/config.ts:238–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 * Defines categories of allowed elements.
237 */
238export interface UseProfilesConfig {
239 /**
240 * Allow all safe MathML elements.
241 */
242 mathMl?: boolean | undefined;
243
244 /**
245 * Allow all safe SVG elements.
246 */
247 svg?: boolean | undefined;
248
249 /**
250 * Allow all safe SVG Filters.
251 */
252 svgFilters?: boolean | undefined;
253
254 /**
255 * Allow all safe HTML elements.
256 */
257 html?: boolean | undefined;
258}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected