Issue #2361789 by rpayanm, jamesdixon, javivf: Remove usage of decode_entities().