Use body.inner_html only.
Remove superfluous steps in html stripping.
Tweaks to document form; redirect to document index on create.