solving some edge cases

parsing <hello /> was not possible before, it is now!