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

skanev / evans / 456 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2017 07:41PM UTC
Files 103
Run time 6s
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

27 Jan 2017 07:37PM UTC coverage: 99.536%. Remained the same
2.0.0

push

travis-ci

georgyangelov
Fix escaping issue with deleted lines in the diff

The code highlighter escapes all HTML special characters and generates
new HTML that should not be escaped. The DiffLine class assumes the code
line to already be escaped and marks it as html_safe so that the
highlighting is not escaped when rendering.

In the case of diffs, the removed code line is not passed through the
highlighter. This means that the code itself is not escaped when it goes
to CodeLine, which marks it as html_safe anyway.

The issue is fixed by making sure the Diff class always escapes code
lines, even if they don't pass through the highlighter.

1503 of 1510 relevant lines covered (99.54%)

10.21 hits per line

Source Files on job 456.1 (2.0.0)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 456
  • Travis Job 456.1
  • 2b2b67e9 on github
  • Prev Job for 2.0.0 on master (#453.1)
  • Next Job for 2.0.0 on master (#461.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

© 2026 Coveralls, Inc