Make html valid