Normalize handling html body content

Closes issue #261