closing tag search is case-insensitive

Fixes #229