GNOME Bugzilla – Bug 534627
gtk-doc uses non-standard HTML element
Last modified: 2008-06-02 06:24:17 UTC
Currently gtk-doc generated API docs use the <nobr> element for the shortcuts in the header (Top|Description|Object Hierarchy...). This is to prevent line breaks between them. The <nobr> element is not part of the HTML standard and thus the resulting docs are not fully valid HTML. The HTML standard offers the   char [1] as a replacement for this. Theoretically it should be also possible to do this using the "white-space" CSS property. [1] http://www.w3.org/TR/html401/struct/text.html#h-9.3.2.2
Created attachment 111454 [details] [review] replace <nobr> using CSS This replaces the <nobr> using the "white-space" property.
Thanks for the patch! 2008-06-02 Stefan Kost <ensonic@users.sf.net> patch by: Felix Riemann <friemann@svn.gnome.org> * gtk-doc.xsl: * style.css: Produce valid html. Fixes #534627.