Invalid comment throws BeautifulSoup off

Bug #744278 reported by Petr Viktorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Won't Fix
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.