https://github.com/threedaymonk/htmlentities
