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

xemlock / htmlpurifier-html5 / 216 / 4
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 30 Apr 2019 09:29AM UTC
Files 34
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

30 Apr 2019 09:27AM UTC coverage: 100.0%. Remained the same
216.4

push

travis-ci

xemlock
Don't remove empty <figure>

Empty <figure> is a perfectly valid element, according to the spec.

Content model:
- either one figcaption element followed by flow content,
- or flow content followed by one figcaption element,
- or flow content.

Text belongs to flow content. And in the context of content models it means
either nothing, or Text nodes.

Sources:
- https://www.w3.org/TR/html52/grouping-content.html#the-figure-element
- https://www.w3.org/TR/html52/dom.html#flow-content-2
- https://www.w3.org/TR/html52/dom.html#text-content

424 of 424 relevant lines covered (100.0%)

58.74 hits per line

Source Files on job 216.4
  • Tree
  • List 0
  • Changed 26
  • Source Changed 1
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 116
  • Travis Job 216.4
  • 7aae115d on github
  • Prev Job for on master (#215.5)
  • Next Job for on master (#219.5)
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

© 2025 Coveralls, Inc