summaryrefslogtreecommitdiff
path: root/includes/tidy.conf
diff options
context:
space:
mode:
Diffstat (limited to 'includes/tidy.conf')
-rw-r--r--includes/tidy.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/tidy.conf b/includes/tidy.conf
index aa333fcb..6c947295 100644
--- a/includes/tidy.conf
+++ b/includes/tidy.conf
@@ -16,4 +16,7 @@ quiet: yes
quote-nbsp: yes
fix-backslash: no
fix-uri: no
-new-inline-tags: video,audio,source,track,bdi
+# 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