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

skanev / evans / 456
95%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2017 07:41PM UTC
Jobs 2
Files 103
Run time 1min
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
456

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.

1 of 1 new or added line in 1 file covered. (100.0%)

1503 of 1510 relevant lines covered (99.54%)

20.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 456.1 (2.0.0) 27 Jan 2017 07:41PM UTC 0
99.54
Travis Job 456.1
2 456.2 (2.1.0) 27 Jan 2017 07:42PM UTC 0
99.54
Travis Job 456.2
Source Files on build 456
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #456
  • 2b2b67e9 on github
  • Prev Build on master (#453)
  • Next Build on master (#461)
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