Use w3lib.html.replace_entities() (remove_entities() is deprecated)