tipsy / j2html

Java to HTML generator. Enjoy typesafe HTML generation.
https://j2html.com/
Apache License 2.0
765 stars 136 forks source link

No end tag #119

Closed jonbuck16 closed 6 years ago

jonbuck16 commented 6 years ago

Is it possible to configure or specify that I don't want and end tag and the open tag should self close... so at the moment I am getting <tagName someAttr="someValue"></tagName> and what I want is <tagName someAttr="someValue"/>?

jonbuck16 commented 6 years ago

Apologies, just found it in the source code, need to use EmptyTag...