Remove unnecessary markup
Encode entities properly