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

j0k3r / php-readability / 145 / 9
88%
master: 85%

Build:
Build:
LAST BUILD BRANCH: 1.x
DEFAULT BRANCH: master
Ran 03 Feb 2019 03:26PM UTC
Files 2
Run time 0s
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

03 Feb 2019 03:21PM UTC coverage: 87.5%. Remained the same
CS_FIXER=run

Pull #42

travis-ci

web-flow
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair

A change released in tidy 5.6.0 breaks php-tidy when using
tidy_parse_string+tidy_clean_repair and wrap=0, incorrectly wrapping
every single word. Also it seems that $tidy->value should not be used to
retrieve the repaired html as far as it is undocumented and for internal
use.

We replace the call with tidy_repair_string which directly returns the
repaired string.

Relates to https://github.com/htacg/tidy-html5/issues/673
Relates to https://bugs.php.net/bug.php?id=75947

Tests pass.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Pull Request #42: tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair

532 of 608 relevant lines covered (87.5%)

14.3 hits per line

Source Files on job 145.9 (CS_FIXER=run)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 145
  • Travis Job 145.9
  • 06912126 on github
  • Prev Job for CS_FIXER=run on fix-tidy (#144.9)
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