html-minifier icon indicating copy to clipboard operation
html-minifier copied to clipboard

<source> tags within <audio> tag are not recognized as self-closing

Open dkolba opened this issue 13 years ago • 0 comments

A code block like this:

<audio controls="controls">
  <source src="foo.wav" >
  <source src="far.wav" >
  <source src="foobar.wav" >
</audio>

will minify to this:

<audio controls="controls">
  <source src="foo.wav" >
  <source src="far.wav" >
  <source src="foobar.wav" ></source></source></source>
</audio>

dkolba avatar Oct 16 '13 09:10 dkolba