Added method to render html

RenderHtmlResult struct was already present, but method was missing from controller. I wanted to use this functionality, so decided to create pull request