|
Ran
|
Jobs
3
|
Files
153
|
Run time
8min
|
Badge
README BADGES
|
push
travis-ci
<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'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't a valid identifier character or open brace. I'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
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 2700.1 | 0 |
84.54 |
Travis Job 2700.1 | |
| 2 | 2700.2 | 0 |
84.54 |
Travis Job 2700.2 | |
| 3 | 2700.3 | 0 |
84.57 |
Travis Job 2700.3 |