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 587986 - html2xml.py does not close <sub>
html2xml.py does not close <sub>
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
git master
Other Linux
: Normal normal
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-07 15:18 UTC by Emilio Pozuelo Monfort
Modified: 2009-08-27 09:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
close <sub> tags (1.33 KB, patch)
2009-07-07 15:20 UTC, Emilio Pozuelo Monfort
none Details | Review

Description Emilio Pozuelo Monfort 2009-07-07 15:18:32 UTC
[ Forwarded from http://bugs.debian.org/256848 ]

Hi,

The html2xml.py leaves <sub> tags opened:

for chap in dict['order']:
    print '  <sub name="%s" link="%s">' % (chap, dict[chap]['link'])
    if not dict[chap].has_key ('order'):
	continue
...
    print '  </sub>'

If the continue is reached, the tag won't be closed. This patch from Richard Cohen fixes it.
Comment 1 Emilio Pozuelo Monfort 2009-07-07 15:20:26 UTC
Created attachment 137975 [details] [review]
close <sub> tags
Comment 2 Frederic Peters 2009-08-27 09:31:58 UTC
Patch commited.

commit 2bf98557060a7956c28437a37cf63f5cd591f760
Author: Richard Cohen <richard@daijobu.co.uk>
Date:   Thu Aug 27 11:29:52 2009 +0200

    Make html2xml.py close <sub> (GNOME bug 587986)