Convert all applicable characters to HTML entities