[Patches] [ python-Patches-580670 ] less restrictive HTML comments

noreply@sourceforge.net noreply@sourceforge.net
Sun, 28 Jul 2002 10:29:14 -0700


Patches item #580670, was opened at 2002-07-12 13:21
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=580670&group_id=5470

Category: Library (Lib)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Bill Bell (wbell539)
Assigned to: Nobody/Anonymous (nobody)
Summary: less restrictive HTML comments

Initial Comment:

Current code enforces requirement that HTML comments open 
with '<!--'. Suggest patch which provides for less restrictive syntax, 
since current syntax requirements rejects significant fraction of 
pages.

Affects sgmllib.py and markupbase.py.

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

>Comment By: Bill Bell (wbell539)
Date: 2002-07-28 13:29

Message:
Logged In: YES 
user_id=109396

OK, Martin, I withdraw the suggestion.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-07-28 12:47

Message:
Logged In: YES 
user_id=21627

Can you give examples of a few pages that contain such
comments? I doubt that this is all that common, and if you
still need to parse them, it might be better to make your
own adjustments to htmllib.

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

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