Render xml in `html()` when `xmlMode: true`

fixes #447, #275