X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ftidy.conf;h=4c4daed57955438df5315a382a6bb12122707099;hp=aa333fcbe34c923816dcda7be0729d014343e49f;hb=5befb9b74790a99aec5514ad8f8784a4fb085288;hpb=fae05504fedd31eee393b5c2263521874c9383a8 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