GNOME Bugzilla – Bug 568485
typewriting error in Gtk::AccelMap::add_entry(..) reference
Last modified: 2009-02-05 17:51:48 UTC
Gtk::AccelMap::add_entry(..) displays a minor error in the description. The html entities < and > are shown instead of < and > It displays: [...] consist of "& lt;WINDOWTYPE& gt;/Cat[...] instead of [...] consist of "<WINDOWTYPE>/Cat[...] Same for: [...] may look like: "& lt;Gimp-Toolbox& gt;/F[...]
Confirmed. http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/namespaceGtk_1_1AccelMap.html#6313a0f99aebe342c08f2d2d0f9416ad Maybe we can fix this in our perl script.
*** Bug 568486 has been marked as a duplicate of this bug. ***
CCing Daniel, who might be interested in fixing this, if he has time.
It turns out that the mistaken escape was caused by the docextract_to_xml.py script in the pygobject module. As it is currently only used by gtkmm anyway, I took the liberty of committing a fix to pygobject trunk: 2009-01-27 Daniel Elstner <danielk@openismus.com> * codegen/docextract_to_xml.py (escape_text): Do not escape the ampersand "&" in entity references (bug #568485). Replace some unusual entity references in the output with their literal values. Note that the change might also affect other uses of entity references in the documentation, not necessarily for the better. It's hard to get it right in all cases if you have to guess the intended meaning...
Actually this particular documentation was in the non-generated accelmap.h file. I corrected it there. Hopefully the fix in docextract_to_xml.py fix has corrected it in other places too.