X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftidy.conf;h=4c4daed57955438df5315a382a6bb12122707099;hb=aaef99cbb6cdd637bd3ac21f9260ecf31e378d09;hp=aa333fcbe34c923816dcda7be0729d014343e49f;hpb=08e7fab36770a0bd54318f95e6627baaa2de519d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/tidy.conf b/includes/tidy.conf index aa333fcbe3..4c4daed579 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 and used in the body for Microdata +new-empty-tags: html-meta, html-link, wbr +new-inline-tags: video, audio, source, track, bdi, data, time, mark