Ran
|
Files
153
|
Run time
11s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/4b9344af7">References.php: Use strlen not mb_strlen to count page length * When a page is missing an explicit <references /> tag, we insert an implicit <references /> tag and assign it a zero-width DSR with a starting offset equal to the length of the page. However, now that we have byte offsets, that should have been strlen, not mb_strlen. This was causing incorrect DSR assignment on this implicit tag and causing trailing newline selser diffs on these pages. * Debugged on this reduced test case: "* a – b <ref>x</ref>\n\nc\n\n" and comparing selser trace and then DSR offsets on the DOMs. Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/8aebf3071">8aebf3071</a>
9636 of 12147 branches covered (79.33%)
15082 of 17787 relevant lines covered (84.79%)
32531.31 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|