Fixed closeParent with paired tags
Typo
Grammar
WiP
Improved handling of reopened tags that immediately get closed so that it doesn't output empty tag pairs