X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/includes/tidy/tidy.conf diff --git a/includes/tidy/tidy.conf b/includes/tidy/tidy.conf new file mode 100644 index 00000000..d4a31993 --- /dev/null +++ b/includes/tidy/tidy.conf @@ -0,0 +1,24 @@ +# 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 and used in the body for Microdata +new-empty-tags: html-meta, html-link, wbr, source, track +new-inline-tags: video, audio, bdi, data, time, mark +# html-style is a hack we use to prevent pre-HTML5 versions of Tidy from stripping