HTML-escape all content before adding it to a Document.