Fix entities without semicolon
Replace unescaped chars with entities
Replace invalid <bold> with <b>
Fix incomplete tag
Replace special chars with entities