mods to remove and escape quotes and angle brackets