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

OWASP / java-html-sanitizer / 288
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 03 Jul 2020 04:21PM UTC
Jobs 3
Files 44
Run time 39s
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
288

push

travis-ci

mikesamuel
Do not lcase element or attribute names that match SVG or MathML names exactly

> Currently all names are converted to lowercase which is ok when
> you're using it for HTML only, but if there is an SVG image nested
> inside the HTML it breaks.  For example, when `viewBox` attribute is
> converted to `viewbox` the image is not displayed correctly.

This commit splits *HtmlLexer*.*canonicalName* into variants which preserve
items on whitelists derived from the SVG and MathML specifications, and
adjusts callers of *canonicalName* to use the appropriate variant.

Fixes #182

3900 of 4184 relevant lines covered (93.21%)

2.79 hits per line

Jobs
ID Job ID Ran Files Coverage
2 288.2 03 Jul 2020 04:21PM UTC 0
93.14
Travis Job 288.2
3 288.3 03 Jul 2020 04:21PM UTC 0
93.11
Travis Job 288.3
4 288.4 03 Jul 2020 04:21PM UTC 0
93.02
Travis Job 288.4
Source Files on build 288
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #288
  • 247cdb63 on github
  • Next Build on svg-mathml-mixed-case-names (#290)
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