class W3CReference

Stores reference data from the W3C Sanitizer API standard.

Constants

CONTEXT_HEAD

Sanitizer supported contexts.

A parent element name can be passed as an argument to {see HtmlSanitizer::sanitizeFor()}. When doing so, depending on the given context, different elements will be allowed.

CONTEXT_BODY

CONTEXT_TEXT

CONTEXTS_MAP

HEAD_ELEMENTS

Elements allowed by the Sanitizer standard in as keys, including whether they are safe or not as values (safe meaning no global display/audio/video impact).

BODY_ELEMENTS

Elements allowed by the Sanitizer standard in as keys, including whether they are safe or not as values (safe meaning no global display/audio/video impact).

ATTRIBUTES

Attributes allowed by the standard.