fix weirdness with smart quotes and em dashes