fix #5 and fetch HTML entities from WHATWG