[Patches] [ python-Patches-545300 ] sgmllib support for additional tag forms

noreply@sourceforge.net noreply@sourceforge.net
Wed, 17 Apr 2002 11:16:12 -0700


Patches item #545300, was opened at 2002-04-17 14:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=545300&group_id=5470

Category: Library (Lib)
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven F. Lott (slott56)
Assigned to: Nobody/Anonymous (nobody)
Summary: sgmllib support for additional tag forms

Initial Comment:
MS-word generated HTML includes declaration 
tags of the form: 
<![if !supportEmptyParas]>&nbsp;<![endif]>
scattered throughout the body of an HTML 
document.

The current sgmllib parse_declaration routine 
rejects these as invalid syntax, where browsers 
tolerate these embedded declarations.

This patch accepts these declaration forms.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=545300&group_id=5470