kangax/html-minifier — pull request #49 by slundberg (2013-04-15 15:34:33+00:00)
Title: Fix so hyphens work in tag names

Minifying the following markup results in an incorrect parse with the div ending up inside the custom tag. This causes problems when minifying angular templates since they often use hyphens in custom tag names. I just updated the endTag regExp to include hyphens (the start tag already accepted them).

```html

custom tags dash problem

My parent div is a sibling of customin

```