Summary
html-parser supports only a few entities
Metadata
- Id: a6b1d70f245dda4f590c2114e42b4cc9e32d571c
- Trac id: 945
- Type: defect
- Reporter: retroj
- Owner: ashinn
- Cc:
- Status: assigned
- Component: extensions
- Estimated difficulty: easy
- Resolution:
- Priority: major
- Milestone: someday
- Version: 4.8.x
- Changetime: 2017-08-25 14:10:09 UTC
- Created: 2012-10-31 00:59:05 UTC
- Keywords:
Description
The html-parser egg supports only a few entities ( , < and friends) by default. If one wants to parse html that contains other entities than these, one cannot use the simple html->sxml, but must use make-html-parser just to add entities. I propose that for purposes of html->sxml, html-parser should not validate entities at all, but simply create sxml entity forms for whatever entities it encounters.