After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700646 - XML output does not handle HTML entities in titles
XML output does not handle HTML entities in titles
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-05-19 17:36 UTC by Dean Camera
Modified: 2013-08-23 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dean Camera 2013-05-19 17:36:13 UTC
When HTML entities such as &trade; are used in a title, the resulting XML output is incorrectly generated. Instead of the expected <trademark/> or similar element, the ampersand in the entity is double-escaped.

Test case:

/** \mainpage
 *
 * \section Sec_Info About the Contoso &trade; project.
 * This section describes the Contoso &trade; project.
 */

Generated XML:

<detaileddescription>
    <sect1 id="index_1Sec_Info">
        <title>About the Contoso &amp;trade; project.</title>
        <para>This section describes the Contoso <trademark/> project. </para>
    </sect1>
</detaileddescription>
Comment 1 Dimitri van Heesch 2013-05-30 20:14:07 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2013-08-23 15:04:22 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. 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.