SVG tags' shapes lose their closing tags
envgap__cheeriojs__cheerio-521
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
ccd9369153e9c580782ae422eff59d6caed16f1d- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
cheeriojs/cheerio #521 · read the original issue
``` js
var cheerio = require('cheerio');
var $ = cheerio.load('<svg><symbol><circle></circle></symbol><g><rect></rect></g><path></path></svg>');
console.log($.html());
//=> '<svg><symbol><circle></symbol><g><rect></g><path></svg>'
```
Using 0.17.0, `<circle>`, `<rect>`, and `<path>` lose their closing tags.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]