String class with escaping for HTML output