• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 3258 / 1
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2020 10:12AM UTC
Files 154
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jan 2020 10:02AM UTC coverage: 84.849%. Remained the same
3258.1

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/512608d0c">Refactor Parsoid::html2html into Parsoid::pb2pb

Use the PageBundle class to indicate when we&#39;re dealing with separated
HTML, data-parsoid, and data-mw, with a new PageBundle::toHtml()
method to convert it back into &quot;unified&quot; (one HTML DOM, inline
attributes) form.

This is a useful marker in the code --- otherwise it&#39;s hard to tell if
a variable named $html is &quot;unified&quot; HTML or just one part of a page
bundle).  (Internally, there&#39;s another format used, where the data
attributes have been loaded into a separate bag structure attached
to the HTML, but that is not exposed in our external interfaces.)

Similarly, create explicit Parsoid::pb2pb and Parsoid::html2html
endpoints so the input types are clear.  While we&#39;re at it, add a pair
of missing ContentUtils::convertOffsets()/ConvertOffsets::run() calls
so (a) the Env &quot;request offset type&quot; parameter is honored on input, if
provided, (b) the &quot;current offset type&quot; parameter in the Env is
initialized correctly, and (c) the output offset type is correctly
recorded in the page bundle by ConvertOffsets::run().

We don&#39;t expect to use &quot;request offset type&quot; in production, so (b) and
(c) are actually the important things here, just to ensure that the
Env is initialized correctly and the page bundle records the fact
that these are (almost always) &quot;byte&quot; offsets.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/4a5918d7c">4a5918d7c</a>

9662 of 12132 branches covered (79.64%)

15149 of 17854 relevant lines covered (84.85%)

32874.48 hits per line

Source Files on job 3258.1
  • Tree
  • List 0
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3025
  • Travis Job 3258.1
  • 512608d0 on github
  • Prev Job for on master (#3257.1)
  • Next Job for on master (#3259.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc