]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/HTMLPurifier/standalone/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt
Release 6.5.0
[Github/sugarcrm.git] / include / HTMLPurifier / standalone / HTMLPurifier / ConfigSchema / schema / HTML.Allowed.txt
1 HTML.Allowed
2 TYPE: itext/null
3 VERSION: 2.0.0
4 DEFAULT: NULL
5 --DESCRIPTION--
6
7 <p>
8     This is a preferred convenience directive that combines
9     %HTML.AllowedElements and %HTML.AllowedAttributes.
10     Specify elements and attributes that are allowed using:
11     <code>element1[attr1|attr2],element2...</code>.  For example,
12     if you would like to only allow paragraphs and links, specify
13     <code>a[href],p</code>.  You can specify attributes that apply
14     to all elements using an asterisk, e.g. <code>*[lang]</code>.
15     You can also use newlines instead of commas to separate elements.
16 </p>
17 <p>
18     <strong>Warning</strong>:
19     All of the constraints on the component directives are still enforced.
20     The syntax is a <em>subset</em> of TinyMCE's <code>valid_elements</code>
21     whitelist: directly copy-pasting it here will probably result in
22     broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes
23     are set, this directive has no effect.
24 </p>
25 --# vim: et sw=4 sts=4