I have lots of instances of </br> in my project (instead of <br/>)
IDEA rightly highlights them and says "Closing tag matches nothing"
However, the only options to fix it are:
"Remove Extra Closing Tag" - Does what you would expect
"Merge Tags" - I don't really understand what this does
It would be nice to be offered to replace with a single tag.
Also, when I run Analyze -Inspect code with all HTML options ticked, the "Closing tag matches nothing" warning does not appear in the results. ?:|
I was expecting in the editor a "Fix all similar errors" option (in the same way that Redundant Casts can be removed in one go)
I was also expecting in the Analyze - Inspect code results the option to fix all similar errors in all specified files.