Add methods to add title attribute
sbezkostnyi opened this issue · comments
Hello,
I found myself writing a lot of tag.attr("title", title)
code and I thought it may be a good idea to add withTitle
/withCondTitle
methods to Tag
class. What do you think?
Sounds good. If you make a PR, I'll merge it.
1.2.0 (which includes this change) is available now
<dependency>
<groupId>com.j2html</groupId>
<artifactId>j2html</artifactId>
<version>1.2.0</version>
</dependency>
Thanks. And for other features in 1.2.0 too.