Fix bug #5

Properly skip empty tags (for example "<empty/>") while supporting tags with names of length 1 (for example "<a>")