added some basic cleaning of incoming html