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 644666 - pygobject & pygtk reference documentation hard to use with newer browsers
pygobject & pygtk reference documentation hard to use with newer browsers
Status: RESOLVED FIXED
Product: website
Classification: Infrastructure
Component: developer.gnome.org
current
Other All
: Normal normal
: ---
Assigned To: GNOME Web maintainers
GNOME Web maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-13 20:18 UTC by Dieter Verfaillie
Modified: 2014-01-26 22:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
correct rendering (149.10 KB, image/png)
2011-03-13 20:19 UTC, Dieter Verfaillie
Details
problematic rendering (136.26 KB, image/png)
2011-03-13 20:20 UTC, Dieter Verfaillie
Details

Description Dieter Verfaillie 2011-03-13 20:18:02 UTC
The reference documentation for PyGObject and PyGTK as hosted on
library.gnome.org contain <br></br> tags in the "Synopsis" sections
of the classes documented in those projects. This is being rendered
as two newlines instead of a single newline with newer browsers,
making the reference docs hard to use.

I suspect library.gnome.org does not use the xsl stylesheet files
distributed with PyGObject as the reference docs generated
by ./configure && make for both PyGObject and PyGTK simply have <br>
instead of <br></br>. Looking over [1] I do not see where the <br></br>
is being generated though...

Note: I originally reported this as a Firefox 4 beta bug [2]
with [3] as an example, but looking at the discussion that follows
that bug report other newer browser version (chrome, ie9) seem to
have the same issue.

[1] http://git.gnome.org/browse/library-web
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=641239
[3] http://library.gnome.org/devel/pygtk/2.22/class-gtkwidget.html
Comment 1 Dieter Verfaillie 2011-03-13 20:19:39 UTC
Created attachment 183295 [details]
correct rendering
Comment 2 Dieter Verfaillie 2011-03-13 20:20:03 UTC
Created attachment 183296 [details]
problematic rendering
Comment 3 Rafael Villar Burke 2011-08-06 11:31:47 UTC
Umm, perhaps we should investigate whether changing those unclosed <br> tags should be converted to the more xml compliant </ br>. Maybe the closing tags are being generated by the browsers when working on an xhtml mode or something like it that would expect closing tags.
Comment 4 Frederic Peters 2014-01-26 22:20:00 UTC
Workaround the issue as it's unlikely to be resolved.

commit 21bd9af2cd1aee0a83db956009ecb3d90fa6c413
Author: Frédéric Péters <fpeters@0d.be>
Date:   Sun Jan 26 22:17:32 2014 +0000

    conceal consecutive line breaks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=644666