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

Interface UseProfilesConfig

src/config.ts:227–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 * Defines categories of allowed elements.
226 */
227export interface UseProfilesConfig {
228 /**
229 * Allow all safe MathML elements.
230 */
231 mathMl?: boolean | undefined;
232
233 /**
234 * Allow all safe SVG elements.
235 */
236 svg?: boolean | undefined;
237
238 /**
239 * Allow all save SVG Filters.
240 */
241 svgFilters?: boolean | undefined;
242
243 /**
244 * Allow all safe HTML elements.
245 */
246 html?: boolean | undefined;
247}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected