I use \code and \endcode rather than <pre> and </pre> in that case and it works fine. - Damon
|------------> | From: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |<michael.bro...@thomsonreuters.com> | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |<doxygen-users@lists.sourceforge.net> | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |07/09/2012 11:15 AM | >-----------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >-----------------------------------------------------------------------------------------------------------------------------------------| |[Doxygen-users] Bug: <list> inside <pre> generates bad html | >-----------------------------------------------------------------------------------------------------------------------------------------| In a \page chunk of documentatation, I have a block of XML that I want to quote exactly. So I use the <pre> and </pre> HTML tags. But inside that block of XML, there are <list> and </list> tags. When Doxygen processes the <pre> block, it replaces each occurrence of <list> with: <ul></ul> At each occurrence of </list>, it closes the <pre> and all other open HTML tags (from before the <pre> tag), and inserts: </li></ul> then it reopens the <pre> tag, puts in the rest of my <pre> block, then closes the <pre> tag again. That is very wrong. I would expect Doxygen to change all the < chars to < and all the > chars to > in that <pre> block, but not to change ANYTHING else. Except for those <list> and </list> tags, it does exactly that. If I escape the <> chars in those <list> and </list> tags, Doxygen changes them to: <list> and </list> That matches all the other < to < and > to > mods. But I should not have to escape anything; <pre> should leave everything untouched.: Tested on: MSIE 8 Google Chrome 20.0.1132.47m Firefox 13.0.1 Mike This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users