use a nice prewritten thing to fix html entities