martinheidegger / excerpt-html

Parses a given html text for a good excerpt.
MIT License
11 stars 5 forks source link

Lodash unescape doesn't unescape many entities #1

Closed KyleAMathews closed 8 years ago

KyleAMathews commented 8 years ago

I upgraded and started seeing lots of unescaped characters in my excerpts. Lodash only unescapes a handful of characters and suggests using https://github.com/mathiasbynens/he for more robust support.

martinheidegger commented 8 years ago

Thank you for pointing this out! Changed and published.

KyleAMathews commented 8 years ago

Thanks!