Wrap with html encoder.

Also, not tested, I don't have the dev instance up and running, and cannot mangle my current dev box with the nginx install. I probably could have got a vagrant up, but this patch is so trivial that I'll let somebody else validate.