GNOME Bugzilla – Bug 738173
Entity references in XML code command are incorrectly handled
Last modified: 2014-12-25 16:02:28 UTC
Given the following documentation comment (which is valid according to whatever tool Visual Studio invokes to produce a documentation XML file from C# code), /// <summary>Foo.</summary> /// <remarks>Bar.</remarks> /// <code> /// var s = new HashSet<string>(); /// </code> doxygen produces HTML documentation such that the HTML document contains new HashSet&lt;<span class="keywordtype">string</span>&gt;(); which renders as new HashSet<string>();
+1 for this - it's a really serious bug and is making it very difficult for us to use doxygen. The whole point of the C# XML input format is that it's valid XML, and Visual Studio will complain or even fail to compile in some cases if it isn't, so it's important that doxygen can cope with < > entity references to specify the < and > characters in code snippets like this. It should be pretty simple to implement a find-replace preprocessor step for key XML entities such as < and > (and it could be a configurable option if needed for backwards compatibility reasons)
Confirmed. Should be fixed in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.9. 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).