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.

26 lines
996B

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