You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
926B

  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. Some rational behind the auto-detection:
  12. in previous versions of HTML Purifier, it was assumed that the form of
  13. class was NMTOKENS, as specified by the XHTML Modularization (representing
  14. XHTML 1.1 and XHTML 2.0). The DTDs for HTML 4.01 and XHTML 1.0, however
  15. specify class as CDATA. HTML 5 effectively defines it as CDATA, but
  16. with the additional constraint that each name should be unique (this is not
  17. explicitly outlined in previous specifications).
  18. --# vim: et sw=4 sts=4