Ran
|
Jobs
5
|
Files
8
|
Run time
22s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/fb55/htmlparser2/commit/<a class=hub.com/fb55/htmlparser2/commit/76895d59feaac2017f5e4c3508de34bb66df037f">76895d59f<a href="https://github.com/fb55/htmlparser2/commit/76895d59feaac2017f5e4c3508de34bb66df037f">">Correctly handle SVG (and MathML) tag closing (#254) * Use xmlmode for svg consider _lowerCaseTagNames removed 2nd test as it&#39;s no longer needed * more robustnes * Made auto-xmlMode optional * Correctly handle self-closing SVG tags SVG and MathML in HTML doesn&#39;t trigger a full HTML parser, but it does force self-closing tags to be recognized. In contrast, the old approach of treating SVG shapes as void elements resulted in serious errors. See issue #187 I&#39;m running tests from cheerio/dom-serializer, but if they could be adapted to this repo, that would be even better. * Test for child element inside SVG shapes Since this was another failing case from the former assumption of self-closing tags. Still TODO: handle mixed-case element/attribute names See https://github.com/cheeriojs/dom-serializer/pull/76/commits/</a><a class="double-link" href="https://github.com/fb55/htmlparser2/commit/<a class="double-link" href="https://github.com/fb55/htmlparser2/commit/6b8ea86259e60b693d45624ac8a9e06c52f9f65b">6b8ea8625</a>">6b8ea8625</a><a href="https://github.com/fb55/htmlparser2/commit/76895d59feaac2017f5e4c3508de34bb66df037f"> for the list and an example of handling them at serialization.
574 of 613 branches covered (93.64%)
8 of 8 new or added lines in 1 file covered. (100.0%)
870 of 907 relevant lines covered (95.92%)
2901.55 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
99.33 |
-0.67% | lib/Parser.js |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 323.1 | 8 |
95.92 |
Travis Job 323.1 | |
2 | 323.2 | 8 |
95.92 |
Travis Job 323.2 | |
3 | 323.3 | 8 |
95.92 |
Travis Job 323.3 | |
4 | 323.4 | 8 |
95.92 |
Travis Job 323.4 | |
5 | 323.5 | 8 |
95.92 |
Travis Job 323.5 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|