<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ return array('encoding' => 'UTF-8', 'finalize' => true, 'cachePath' => storage_path('cache/purifier'), 'cacheFileMode' => 493, 'settings' => array('default' => array('HTML.Allowed' => join(',', array('b[style],strong[style],i[style],em[style],u[style],a[href|title|style|download],ul[style],ol[style|start],li[style]', 'div[style|class],p[style],br,span[style|class],img[style|width|height|alt|src|data-formula-image]', 'h1[style],h2[style],h3[style],h4[style],h5[style],pre[class],code[style|class]', 'table[style|cellspacing|width],tbody[style],tbody[style],tr[style],td[style|rowspan|colspan|width|valign],th[style|rowspan|colspan|width|valign]', 'iframe[src|width|height|frameborder|style]', 'video[controls|height|poster|preload|src|width|crossorigin]', 'audio[controls|preload|src|crossorigin],source[src|type]', 'section[style],blockquote[style]', 'svg[viewbox|xmlns|xml:space|style|x|y|xmlns:xlink|version|space]', 'g[transform]', 'animatetransform[attributename|type|values|calcmode|keytimes|keysplines|dur|repeatcount|begin|restart|fill]', 'foreignobject[x|y|width|height]', 'rect[x|y|width|height|style|fill|opacity]', 'set[attributename|from|to|begin]', 'animate[attributename|begin|dur|values|fill|from|to|duration]', 'ellipse[style|cx|cy|rx|ry]', 'text[x|y|fill|style]', 'path[style|d]')), 'HTML.SafeIframe' => true, 'URI.SafeIframeRegexp' => '%^(http://|https://|//|/)?([a-zA-Z0-9\\./=\\%_\\-\\?&]+)$%', 'AutoFormat.AutoParagraph' => true, 'AutoFormat.RemoveEmpty' => false, 'CSS.AllowImportant' => true, 'CSS.MaxImgLength' => null, 'CSS.Proprietary' => true, 'CSS.Trusted' => true, 'CSS.AllowTricky' => true), 'test' => array('Attr.EnableID' => 'true'), 'youtube' => array('HTML.SafeIframe' => 'true', 'URI.SafeIframeRegexp' => '%^(http://|https://|//)(www.youtube.com/embed/|player.vimeo.com/video/)%'), 'custom_definition' => array('id' => 'html5-definitions', 'rev' => 1, 'debug' => false, 'elements' => array(array('section', 'Block', 'Flow', 'Common'), array('nav', 'Block', 'Flow', 'Common'), array('article', 'Block', 'Flow', 'Common'), array('aside', 'Block', 'Flow', 'Common'), array('header', 'Block', 'Flow', 'Common'), array('footer', 'Block', 'Flow', 'Common'), array('address', 'Block', 'Flow', 'Common'), array('hgroup', 'Block', 'Required: h1 | h2 | h3 | h4 | h5 | h6', 'Common'), array('figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | Flow', 'Common'), array('figcaption', 'Inline', 'Flow', 'Common'), array('video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', array('src' => 'URI', 'type' => 'Text', 'width' => 'Length', 'height' => 'Length', 'poster' => 'URI', 'preload' => 'Enum#auto,metadata,none', 'controls' => 'Bool')), array('source', 'Block', 'Flow', 'Common', array('src' => 'URI', 'type' => 'Text')), array('s', 'Inline', 'Inline', 'Common'), array('var', 'Inline', 'Inline', 'Common'), array('sub', 'Inline', 'Inline', 'Common'), array('sup', 'Inline', 'Inline', 'Common'), array('mark', 'Inline', 'Inline', 'Common'), array('wbr', 'Inline', 'Empty', 'Core'), array('ins', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA')), array('del', 'Block', 'Flow', 'Common', array('cite' => 'URI', 'datetime' => 'CDATA'))), 'attributes' => array(array('iframe', 'allowfullscreen', 'Bool'), array('table', 'height', 'Text'), array('td', 'border', 'Text'), array('th', 'border', 'Text'), array('tr', 'width', 'Text'), array('tr', 'height', 'Text'), array('tr', 'border', 'Text'))), 'custom_attributes' => array(array('a', 'target', 'Enum#_blank,_self,_target,_top')), 'custom_elements' => array(array('u', 'Inline', 'Inline', 'Common'))));