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

OWASP / java-html-sanitizer / 292 / 4
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 Jul 2020 03:30PM UTC
Files 44
Run time 9min
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

13 Jul 2020 03:27PM UTC coverage: 93.091% (+0.002%) from 93.089%
292.4

push

travis-ci

web-flow
Do not lcase element or attribute names that match SVG or MathML name… (#206)

* 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

* add unittests for mixed-case SVG names

3921 of 4212 relevant lines covered (93.09%)

0.93 hits per line

Source Files on job 292.4
  • Tree
  • List 0
  • Changed 13
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 102
  • Travis Job 292.4
  • eb6ef029 on github
  • Prev Job for on main (#287.2)
  • Next Job for on main (#294.2)
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