Escape content output in HTML to prevent XSS issues