Ignore single tags, e.g. <br />
lervag opened this issue · 3 comments
Hi,
I just tested this plugin, and when I tried it on a random XML-file I discovered that it had a minor issue that I think should be relatively easy to fix. Consider the following xml-code:
<property name="<Super>p" type="empty"/>
<property name="<Control>Escape" type="empty"/>
</property>
In this case, when the cursor is on the second "property" tag, it should not match the -tag. However, it does, since it does not recognize the closing "/>" as making the tag a "single tag".
Yes this will definitely cause a problem. I'll take a look at fixing this and update when I have a fix.
Thanks,
Greg
I've just pushed a series of commits. This should be fixed now. Let me know if you still have any problems.
Thanks,
Greg
Great! Good work!
- Karl
2011/11/23 Greg Sexton
reply@reply.github.com:
I've just pushed a series of commits. This should be fixed now. Let me know if you still have any problems.
Thanks,
Greg
Reply to this email directly or view it on GitHub:
#2 (comment)