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

wikimedia / parsoid / 3242
85%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2019 08:16PM UTC
Jobs 3
Files 308
Run time 6min
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
3242

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/3ab058e47">Fix autolink url parsing code

* The original check imported from Parsoid/JS did not match the legacy
  parser, which used a &quot;unicode \w&quot; implicitly in the word-boundary
  checks.  This may not have been entirely intentional or desirable: see
  https://phabricator.wikimedia.org/T238022#5665580

* The Parsoid/JS version of ConstrainedText/AutoURLLinkText suffered the
  same issue.

* Added new helper methods to get the last unicode character (in both PHP
  and JS) and test it for membership in &quot;unicode \w&quot;.  This test is
  extremely awkward in node v6 (unless you use the --harmony_regexp_property
  flag), but since Parsoid/JS is going away anyway, just grit your teeth
  and skim past the huge regexp (generated by regexpu) for now.

* Added a new parser test that passes with both Parsoid/PHP and
  Parsoid/JS.  It tests 2-, 3-, and 4-byte UTF-8 sequences before
  the autolink.

There may be other remaining instances of \w with the &#39;u&#39; regexp modifier
where Parsoid/JS doesn&#39;t match Parsoid/PHP; see T238022 for details.

Bug: T238022
Co-authored-by: C. Scott Ananian
Co-authored-by: Subramanya Sastry
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/705d2fda4">705d2fda4</a>

19324 of 24264 branches covered (79.64%)

15 of 15 new or added lines in 2 files covered. (100.0%)

30298 of 35708 relevant lines covered (84.85%)

100182.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3242.1 19 Dec 2019 08:20PM UTC 0
84.85
Travis Job 3242.1
2 3242.2 19 Dec 2019 08:16PM UTC 0
84.85
Travis Job 3242.2
3 3242.3 19 Dec 2019 08:22PM UTC 0
84.87
Travis Job 3242.3
Source Files on build 3242
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3242
  • 3ab058e4 on github
  • Prev Build on master (#3241)
  • Next Build on master (#3243)
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