Invalid comment throws BeautifulSoup off

Reported by Petr Viktorin on 2011-03-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Undecided
Unassigned

Bug Description

The pages at http://last.fm 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