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

wikimedia / parsoid / 2700
85%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2019 11:20PM UTC
Jobs 3
Files 153
Run time 8min
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

pending completion
2700

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/f77cdf056">html2wt: Tweak regexps: add D modifier if reqd + unescape \$

* Looked for preg_match instances in the html2wt code and added the
  D modifier for regexps using a trailing $ if there is no \s or \n
  before the $. For instances where it is clear that the string
  will not have a \n (tag names, parsoid-inserted attribute values
  for typeof or ids), I didn&#39;t add a D modifier.

  But, it can be argued that it is less cognitive overload to simply
  add the D modifier to all regexps that use a trailing $ since this
  is simply less error-prone and more robust. A discussion to be had
  and best practices updated if we want to go this way.

  Something for a followup across the entire codebase.

* Looks like js2php is using \$ in some scenarios. It is conservative
  about escaping $ in double-quoted stirngs. This is unnecessary if the
  character after the $ isn&#39;t a valid identifier character or open brace.
  I&#39;ve removed the backslash escape in a few places.

* 1 additional html2wt test is now passing with these fixes.

Bug: T213980
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/16ca03408">16ca03408</a>

9541 of 12027 branches covered (79.33%)

14918 of 17646 relevant lines covered (84.54%)

90412.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2700.1 11 Jun 2019 11:24PM UTC 0
84.54
Travis Job 2700.1
2 2700.2 11 Jun 2019 11:20PM UTC 0
84.54
Travis Job 2700.2
3 2700.3 11 Jun 2019 11:28PM UTC 0
84.57
Travis Job 2700.3
Source Files on build 2700
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2700
  • f77cdf05 on github
  • Prev Build on master (#2699)
  • Next Build on master (#2701)
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

© 2026 Coveralls, Inc