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

matthewmueller / x-ray / 328
92%

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

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%)

1337.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 328.1 12 Aug 2020 07:40PM UTC 0
92.16
Travis Job 328.1
2 328.2 12 Aug 2020 07:40PM UTC 0
92.16
Travis Job 328.2
3 328.3 12 Aug 2020 07:40PM UTC 0
92.16
Travis Job 328.3
4 328.4 12 Aug 2020 07:40PM UTC 0
92.16
Travis Job 328.4
5 328.5 12 Aug 2020 07:40PM UTC 0
92.16
Travis Job 328.5
6 328.6 12 Aug 2020 07:43PM UTC 0
92.16
Travis Job 328.6
7 328.7 12 Aug 2020 07:43PM UTC 0
92.16
Travis Job 328.7
Source Files on build 328
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #328
  • 9ff1bedb on github
  • Prev Build on master (#281)
  • Next Build on master (#329)
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