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

mathiasbynens / he / 128 / 1
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 24 Aug 2014 07:04AM UTC
Files 1
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

24 Aug 2014 07:03AM UTC coverage: 96.644%. Remained the same
128.1

push

travis-ci

mathiasbynens
Implement `allowUnsafeSymbols` encoding option

Although `he.escape` allows for escaping ‘unsafe’ markup characters, there is currently no way to escape the inverse set – non-ASCII characters only. This missing functionality is useful in contexts where markup is allowed, but non-ASCII characters might be otherwise mangled (as in the `iframe` `srcdoc` attribute, for example).

Introduce a new option to `he.encode` which disables the escaping of unsafe markup characters. Preserve API compatability by disabling this behavior by default.

Closes #16 and #23.

144 of 149 relevant lines covered (96.64%)

1065.87 hits per line

Source Files on job 128.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 128
  • Travis Job 128.1
  • 82dc23aa on github
  • Prev Job for on master (#127.1)
  • Next Job for on master (#129.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