That said, your pull request made me realize I forgot to add `parseError();` before this line: https://github.com/mathiasbynens/he/blob/58a9b68cdb39eb6ce8947240acd8be2422d24d39/src/he.js#L110 Working on a fix.