Horrible evil bad bad bad workaround until we fix our entity encoding