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

matthewmueller / x-ray / 328 / 5
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2020 07:40PM UTC
Files 8
Run time 3s
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

12 Aug 2020 07:37PM UTC coverage: 92.157% (+0.4%) from 91.8%
328.5

push

travis-ci

web-flow
Non-latin text should not be HTML encoded automatically with `@html` selector (#350)

* HTML code shouldn't be encoded

When loading an html string, html entities shouldn't be automatically encoded.
For example,
```js
const Xray = require('x-ray');
const x = Xray();

x('<div>你好</div>', 'div@html')
  .then(res => console.log(res));
```
The code above returns `&#x4F60;&#x597D;` instead of `你好`, which doesn't make sense. This issue makes it hard to fetch the real html code of non-latin web pages.

* add test for #350

* Update xray_spec.js

Co-authored-by: Anonymous <anonymous@test.com>

166 of 196 branches covered (84.69%)

Branch coverage included in aggregate %.

351 of 365 relevant lines covered (96.16%)

191.1 hits per line

Source Files on job 328.5
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 112
  • Travis Job 328.5
  • 9ff1bedb on github
  • Prev Job for on master (#281.1)
  • Next Job for on master (#329.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