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

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

Build:
DEFAULT BRANCH: master
Ran 24 Aug 2014 07:01AM UTC
Files 1
Run time 2s
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 06:59AM UTC coverage: 96.644% (+0.07%) from 96.575%
127.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 127.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 127
  • Travis Job 127.1
  • 3054a1d2 on github
  • Prev Job for on master (#120.1)
  • Next Job for on master (#128.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