You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
html parser: text nodes do not close void tags #5528
Activity
yfain commentedon Dec 2, 2015
I was getting errors when closing tags as in
<textarea ... />. After changing to<textarea></textarea>the errors were gone.genereux commentedon Dec 2, 2015
I got errors using
<img/>, or<img></img>.pkozlowski-opensource commentedon Dec 2, 2015
@genereux
<img>is a void element and according to the spec:fix(HtmlParser): close void elements on all node types
genereux commentedon Dec 3, 2015
I tried also
<img>but it is still not working.<a class="navbar-brand" href="#"> <img alt="Brand" src=""> </a>What could be the reason?
vicb commentedon Dec 3, 2015
The reason is that you have a text node " " (white space) after your img tag.
Note that your html is valid but because of a bug in our parser things went wrong.
Before the next release, you should remove the space.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.