~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Attr.ClassUseCDATA
 
2
TYPE: bool/null
 
3
DEFAULT: null
 
4
VERSION: 4.0.0
 
5
--DESCRIPTION--
 
6
If null, class will auto-detect the doctype and, if matching XHTML 1.1 or
 
7
XHTML 2.0, will use the restrictive NMTOKENS specification of class. Otherwise,
 
8
it will use a relaxed CDATA definition.  If true, the relaxed CDATA definition
 
9
is forced; if false, the NMTOKENS definition is forced.  To get behavior
 
10
of HTML Purifier prior to 4.0.0, set this directive to false.
 
11
 
 
12
Some rational behind the auto-detection:
 
13
in previous versions of HTML Purifier, it was assumed that the form of
 
14
class was NMTOKENS, as specified by the XHTML Modularization (representing
 
15
XHTML 1.1 and XHTML 2.0).  The DTDs for HTML 4.01 and XHTML 1.0, however
 
16
specify class as CDATA.  HTML 5 effectively defines it as CDATA, but
 
17
with the additional constraint that each name should be unique (this is not
 
18
explicitly outlined in previous specifications).
 
19
--# vim: et sw=4 sts=4