Invalid comment throws BeautifulSoup off

Bug #744278 reported by Petr Viktorin on 2011-03-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup

Bug Description

The pages at currently have the following invalid comment on line 9:
<!–[if IE]><![endif]–>

That is, the two comment hyphens are replaced by an en-dash.
The pages work in browsers, but BeautifulSoup fails to parse them.

Leonard Richardson (leonardr) wrote :

Beautiful Soup 4 delegates to external parsers, most of which can handle comments like this.

Changed in beautifulsoup:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers