Replaced characters with html entities.