Add class to HTML-encode strings.
This compliments the existing non-encoded string class.