X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftidy.conf;h=4c4daed57955438df5315a382a6bb12122707099;hb=c7d2fb7f7241b0f8a3849e87127a9204e5a19ef3;hp=aa333fcbe34c923816dcda7be0729d014343e49f;hpb=1cf83c086d2139619992175442085d5b7cd76bf4;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