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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 29 Jul 2002 00:57:26 -0700


Patches item #580670, was opened at 2002-07-12 19: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: Closed
>Resolution: Rejected
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 19: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 18: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