wiki.techinc.nl/includes/tidy.conf
Daniel Friesen e47082d6c2 (bug 39067) Add support for HTML5 <mark> element.
* whitelist <mark> in tidy and sanitizer
* provides a default styling for mark elements

Change-Id: I23fc2fc558ff0590be04771ef1e75fcfdf240aac
2012-11-19 09:22:48 +01:00

22 lines
674 B
Text

# html tidy (http://tidy.sf.net) configuration
# tidy - validate, correct, and pretty-print HTML files
# see: man 1 tidy, http://tidy.sourceforge.net/docs/quickref.html
show-body-only: yes
force-output: yes
tidy-mark: no
wrap: 0
wrap-attributes: no
literal-attributes: yes
output-xhtml: yes
numeric-entities: yes
enclose-text: yes
enclose-block-text: yes
quiet: yes
quote-nbsp: yes
fix-backslash: no
fix-uri: no
# Don't strip html5 elements we support
# html-{meta,link} is a hack we use to prevent Tidy from stripping <meta> and <link> used in the body for Microdata
new-empty-tags: html-meta, html-link
new-inline-tags: video, audio, source, track, bdi, data, time, mark