yeah I get that, but the html that is returned from the server doesn't have to be generated with things like html.div(html.p('hello this is a p tag inside a div'))
you could still have your html in a template file and parse and return the contents of that.