GNOME Bugzilla – Bug 792122
XHTML pages are broken several ways
Last modified: 2018-07-30 10:43:16 UTC
Upgrading from 1.8.11 to 1.8.14 gave us several issues we had to work around by patching the generated output. This because some important pages suddenly became invalid XML. Important config options: HTML_FILE_EXTENSION = .xhtml SEARCHENGINE = YES SERVER_BASED_SEARCH = YES EXTERNAL_SEARCH = YES Search.xhtml Contains: <input type="text" id="MSearchField" name="query" value="" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> None of these ending tags are ever started. If we explicitly update to start them, we have 2 search boxes of which 1 is on a really strange place. (This one) menu.js Contains <form ...><input ...></form> Changed this to <form ...><input .../></form> With this we were able to view the main page. On several pages, we have a table in markdown, this seems to generate: <tr class="markdownTableBody" class="markdownTableRowEven"> however, firefox/IE only accept <tr class="markdownTableBody,markdownTableRowEven"> Lastly, the annotated.xhtml page is broken to (this one also in doxygen 1.8.11), whenever someone adds complicated elements picked up by auto-brief. (QT_AUTOBRIEF = YES) This is especially the case for comments starting with /*! * Text */ or with Variant 1 ========= Please let me know if you extra information to reproduce this, however, note that this might take a while since it takes several hours to run.
Hi Jeroen, Can you please attach a self contained example (source+config file in a tar or zip) that allows me to reproduce the problem myself?
Created attachment 366241 [details] Reproduction issue menu.js and annotated.xhtml To reproduce, you can open the files in firefox and check the console
Note, going to http://localhost/bug/search.xhtml?query=other will give you the search.xhtml problem
We have here multiple problems listed in 1 report: - search problem (menu.js) - problem with markdown and tables, please provide separate example - problem with "Text", I was not able to reproduce it, please provide separate example - problem with "Variant 1" and "======", this has to do with the way the comment is processed and the moment that the markdown processing is done. This can be overcome by placing the \details command before the "Variant 1". For this last problem I've just pushed a proposed patch to github (pull request 674, https://github.com/doxygen/doxygen/pull/674).
Code has been integrated in master on github.
The fix introduced some problems, see bug 796110
Fix gave some problems wit h[TOC], this has been fixed in the proposed patch (pull request 735, https://github.com/doxygen/doxygen/pull/735).
2018/06/10 New patch (pull request 735) has been integrated on github
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!