only search for end tag after the index of start tag
Merge pull request #6 from kenborge/master

Search for end tag after start tag