MCPcopy
hub / github.com/cure53/DOMPurify / UseProfilesConfig

Interface UseProfilesConfig

src/config.ts:237–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…