Allow multiple pairs with same closing tag.
Merge pull request #110 from Jell/multiple-close

Allow multiple pairs with same closing tag (helps with #108)