tipsy / j2html

Java to HTML generator. Enjoy typesafe HTML generation.

Home Page:https://j2html.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toString() should call render()

b-gyula opened this issue · comments

For more convenient, really lightweight usage like

String content = "Some content already generated";
content += tr(th("Name"),th("Desc")) + "some other content";

DomContent could implement toString() calling the render method

commented

That sounds fair. Would you like to submit a pull request?

commented

Thanks :)