HTML Encode

Encode special characters to HTML entities for safe embedding.