Closed fernandobandeira closed 8 years ago
It's not only with images, this happens with any element that doesn't have a closing tag, for example:
a
<br>
b
ctrl + alt + f
a
<br>
b
</br>
same happens with the <link>
tag
Show me full html file example please
I've noticed that the formatter is forcing the images to the XHTML syntax, for example:
ctrl + alt + f
If there's a need to support XHTML should'nt it format like this?
AFAIK:
html5
<img src="test">
html5 supports, xhtml<img src="test"/>
xhtml only<img src="test"></img>
This only happens if the img is in this format:
<img src="test">
and there's any text/html(anything) after it, if the image is like<img src="test"/>
it doesn't change