This prints config form for everything we support.
array (
'Attr' =>
array (
'AllowedClasses' => NULL,
'AllowedFrameTargets' =>
array (
),
'AllowedRel' =>
array (
),
'AllowedRev' =>
array (
),
'ClassUseCDATA' => NULL,
'DefaultImageAlt' => NULL,
'DefaultInvalidImage' => '',
'DefaultInvalidImageAlt' => 'Invalid image',
'DefaultTextDir' => 'ltr',
'EnableID' => false,
'ForbiddenClasses' =>
array (
),
'ID.HTML5' => NULL,
'IDBlacklist' =>
array (
),
'IDBlacklistRegexp' => NULL,
'IDPrefix' => '',
'IDPrefixLocal' => '',
),
'AutoFormat' =>
array (
'AutoParagraph' => false,
'Custom' =>
array (
),
'DisplayLinkURI' => false,
'Linkify' => false,
'PurifierLinkify.DocURL' => '#%s',
'PurifierLinkify' => false,
'RemoveEmpty.Predicate' =>
array (
'colgroup' =>
array (
),
'th' =>
array (
),
'td' =>
array (
),
'iframe' =>
array (
0 => 'src',
),
),
'RemoveEmpty.RemoveNbsp.Exceptions' =>
array (
'td' => true,
'th' => true,
),
'RemoveEmpty.RemoveNbsp' => false,
'RemoveEmpty' => false,
'RemoveSpansWithoutAttributes' => false,
),
'CSS' =>
array (
'AllowDuplicates' => false,
'AllowImportant' => false,
'AllowTricky' => false,
'AllowedFonts' => NULL,
'AllowedProperties' => NULL,
'DefinitionRev' => 1,
'ForbiddenProperties' =>
array (
),
'MaxImgLength' => '1200px',
'Proprietary' => false,
'Trusted' => false,
),
'Cache' =>
array (
'DefinitionImpl' => 'Serializer',
'SerializerPath' => NULL,
'SerializerPermissions' => 493,
),
'Core' =>
array (
'AggressivelyFixLt' => true,
'AggressivelyRemoveScript' => true,
'AllowHostnameUnderscore' => false,
'CollectErrors' => false,
'ColorKeywords' =>
array (
'maroon' => '#800000',
'red' => '#FF0000',
'orange' => '#FFA500',
'yellow' => '#FFFF00',
'olive' => '#808000',
'purple' => '#800080',
'fuchsia' => '#FF00FF',
'white' => '#FFFFFF',
'lime' => '#00FF00',
'green' => '#008000',
'navy' => '#000080',
'blue' => '#0000FF',
'aqua' => '#00FFFF',
'teal' => '#008080',
'black' => '#000000',
'silver' => '#C0C0C0',
'gray' => '#808080',
),
'ConvertDocumentToFragment' => true,
'DirectLexLineNumberSyncInterval' => 0,
'DisableExcludes' => false,
'EnableIDNA' => false,
'Encoding' => 'utf-8',
'EscapeInvalidChildren' => false,
'EscapeInvalidTags' => false,
'EscapeNonASCIICharacters' => false,
'HiddenElements' =>
array (
'script' => true,
'style' => true,
),
'Language' => 'en',
'LegacyEntityDecoder' => false,
'LexerImpl' => NULL,
'MaintainLineNumbers' => NULL,
'NormalizeNewlines' => true,
'RemoveInvalidImg' => true,
'RemoveProcessingInstructions' => false,
'RemoveScriptContents' => NULL,
),
'Filter' =>
array (
'Custom' =>
array (
),
'ExtractStyleBlocks.Escaping' => true,
'ExtractStyleBlocks.Scope' => NULL,
'ExtractStyleBlocks.TidyImpl' => NULL,
'ExtractStyleBlocks' => false,
'YouTube' => false,
),
'HTML' =>
array (
'Allowed' => NULL,
'AllowedAttributes' => NULL,
'AllowedComments' =>
array (
),
'AllowedCommentsRegexp' => NULL,
'AllowedElements' => NULL,
'AllowedModules' => NULL,
'Attr.Name.UseCDATA' => false,
'BlockWrapper' => 'p',
'CoreModules' =>
array (
'Structure' => true,
'Text' => true,
'Hypertext' => true,
'List' => true,
'NonXMLCommonAttributes' => true,
'XMLCommonAttributes' => true,
'CommonAttributes' => true,
),
'CustomDoctype' => NULL,
'DefinitionID' => NULL,
'DefinitionRev' => 1,
'Doctype' => NULL,
'FlashAllowFullScreen' => false,
'ForbiddenAttributes' =>
array (
),
'ForbiddenElements' =>
array (
),
'MaxImgLength' => 1200,
'Nofollow' => false,
'Parent' => 'div',
'Proprietary' => false,
'SafeEmbed' => false,
'SafeIframe' => false,
'SafeObject' => false,
'SafeScripting' =>
array (
),
'Strict' => false,
'TargetBlank' => false,
'TargetNoopener' => true,
'TargetNoreferrer' => true,
'TidyAdd' =>
array (
),
'TidyLevel' => 'medium',
'TidyRemove' =>
array (
),
'Trusted' => false,
'XHTML' => true,
),
'Output' =>
array (
'CommentScriptContents' => true,
'FixInnerHTML' => true,
'FlashCompat' => false,
'Newline' => NULL,
'SortAttr' => false,
'TidyFormat' => false,
),
'Test' =>
array (
'ForceNoIconv' => false,
),
'URI' =>
array (
'AllowedSchemes' =>
array (
'http' => true,
'https' => true,
'mailto' => true,
'ftp' => true,
'nntp' => true,
'news' => true,
'tel' => true,
),
'Base' => NULL,
'DefaultScheme' => 'http',
'DefinitionID' => NULL,
'DefinitionRev' => 1,
'Disable' => false,
'DisableExternal' => false,
'DisableExternalResources' => false,
'DisableResources' => false,
'Host' => NULL,
'HostBlacklist' =>
array (
),
'MakeAbsolute' => false,
'Munge' => NULL,
'MungeResources' => false,
'MungeSecretKey' => NULL,
'OverrideAllowedSchemes' => true,
'SafeIframeRegexp' => NULL,
),
)