GNOME Bugzilla – Bug 707567
Asterisks in comment wrongly displayed for @code
Last modified: 2013-12-24 18:59:55 UTC
For a code snippet like: /** * Functor to delete objects pointed by a container of pointers. * * A typical usage might be like: * @code * list<Object*> l; * ... * for_each(l.begin(), l.end(), delete_object()); * @endcode */ struct delete_object { template <typename _Tp> void operator()(_Tp* pointer) const { delete pointer; } }; Previously (at least up to 1.8.0) Doxygen was able to generate the correct HTML/LaTeX output like: list<Object*> l; ... for_each(l.begin(), l.end(), delete_object()); 1.8.5 generates: * list<Object*> l; * ... * for_each(l.begin(), l.end(), delete_object()); *
I can confirm this. See also this description: http://stackoverflow.com/questions/18569169/doxygen-each-line-in-code-listings-starts-with-an-asterisk
Confirmed. This is an unfortunate regression in 1.8.5. Should be fixed in the next GIT update.
*** Bug 709479 has been marked as a duplicate of this bug. ***
Git commit that fixed this bug: https://github.com/doxygen/doxygen/commit/23f337e64b95d3fa08f32980c866669b190c872f
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.6. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).