Also do not generated empty tag if doc would be empty.
Much nicer, but there is still some non-perfect whitespace:
If you search for ///< (without separating space) in klass.h and struct_definition.hh you can find many places.
This does not prevent empty tags. You have to put this same check in line 288, inside generate_tag().