Escapes all text characters for HTML output. Refs #18.