only render content for xhtml as with xmlEntities