Invalid comment throws BeautifulSoup off
Bug #744278 reported by
Petr Viktorin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The pages at http://
<!–[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.
To post a comment you must log in.
Beautiful Soup 4 delegates to external parsers, most of which can handle comments like this.