Ran
|
Files
153
|
Run time
14s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/c2ba008fc">Optionally convert offsets in generated HTML This adds a new --offsetType option to parse.php as well as a new query option to the Parsoid API to allow post-conversion of offsets to/from either UCS-2 or unicode codepoints ("char") from the native UTF-8 ("byte") offsets we use internally. Initially this is used in the round-trip testing framework to emit offsets which are compatible with the output of Parsoid/JS. Longer term, either we'll officially expose this, or deprecate and remove it once we're done testing against Parsoid/JS output. To avoid confusion, we record the offsetType used in the top-level pagebundle object, and check this during html2wt conversions to make sure we're not mixing up DSR types. Bug: T222738 Bug: T232056 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/d04eb3321">d04eb3321</a>
9636 of 12147 branches covered (79.33%)
15082 of 17787 relevant lines covered (84.79%)
32533.17 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|