~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to lib/htmlpurifier/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
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