Tidy: <source> and <track> are empty elements
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Mon, 4 Jan 2016 14:10:58 +0000 (06:10 -0800)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sun, 21 Feb 2016 18:30:55 +0000 (19:30 +0100)
Seems these got accidently added as inline items, even though they
should be and are output as empty elements. This should correct that.

Bug: T122787
Change-Id: I6e75529c9d349050479c1b7ad758320d1e948e78

includes/tidy/tidy.conf

index 4c4daed..d93ce22 100644 (file)
@@ -18,5 +18,5 @@ 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 <meta> and <link> 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
+new-empty-tags: html-meta, html-link, wbr, source, track
+new-inline-tags: video, audio, bdi, data, time, mark