I'm moving the entire html entities replacement out into its own method and at the same time renaming it.