GNOME Bugzilla – Bug 657081
HTML_ALIGN_MEMBERS=NO produces invalid XHTML
Last modified: 2015-12-13 12:21:54 UTC
Given this source code: /// Foo here namespace foo { /// Foo type struct Foo { }; } and this Doxyfile config: INPUT = . HTML_ALIGN_MEMBERS = NO GENERATE_LATEX = NO I get invalid XHTML, here is the relevant part: <ul> <li>struct <a class="el" href="structfoo_1_1Foo.html">Foo</a> <dl class="el"><dd class="mdescRight"><a class="el" href="structfoo_1_1Foo.html" title="Foo type.">Foo</a> type. <a href="structfoo_1_1Foo.html#details">More...</a><br/></dl></ul> Notice that the <dd> and <li> elements are not closed. (This was originally reported as a bug in the GCC bugzilla, http://gcc.gnu.org/PR50143, this report is reduced from the Doxygen config we use in libstdc++)
Please provide complete steps to reproduce (expand the shortcut ‘I get’). Thanks.
Put the source code in a source file. Then put the Doxyfile config in a doxygen Doxyfile config file. Then run doxygen. Or, if that's not clear enough: $ cat > foo.cc /// Foo here namespace foo { /// Foo type struct Foo { }; } $ $ cat > Doxyfile INPUT = . HTML_ALIGN_MEMBERS = NO GENERATE_LATEX = NO $ $ $ doxygen then look at html/namespacefoo.html
N.B. I can also reproduce this with doxygen version 1.7.5.1
This issues seem to be fixed since doxygen 1.8.1 Please reopen this bug report if you still see this issue with the latest version of doxygen.