flatiron/plates — pull request #85 by pgte (2012-09-02 19:02:06+00:00)
Title: Fixed #84 - properly matching closing tags when iterating

The match was being made to the last found closing tag, which is wrong.
Matching tag count is now performed, and an error is thrown if the tags cannot be matched.