Replace unescaped chars with entities
Fix link