Closed ijabz closed 6 years ago
@ijabz I'm actually only using join as a way to return multiple elements that aren't the direct children of a container element
Yeah, that's not how it was intended to be used, but I like the creativity. Do you want to create a PR which makes join
ignore null values?
This has been released in 1.3.0 now
I have this code
Might be nicer if join() did not complain about adding null`especially since I cannot just create join() outside of loop and use a java if and then with() because join() does not support with(). Im actually only using join as a way to return multiple elements that arent the direct children of a container element i.e https://stackoverflow.com/questions/48421009/how-to-use-j2html-when-have-a-method-that-needs-to-return-multiple-tags