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

FullHuman / purgecss / 43603696488
95%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 02:14PM UTC
Jobs 1
Files 9
Run time 1min
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

14 Nov 2026 02:12PM UTC coverage: 94.829% (+0.02%) from 94.806%
43603696488

push

github

web-flow
fix(purgecss-from-pug): find class arrays and objects, split on whitespace, keep whole attribute values (#1595)

The value of a Pug attribute is a JavaScript expression. Only a single
string literal was understood; any other expression had its quotes removed
and was split on spaces, and values were never split on other whitespace
nor kept whole.

- Parse the value with acorn and extract its strings, its numbers and, for
  `class`, the keys of its objects, as purgecss-from-jsx does. Class arrays
  (`class=['foo', 'bar']`) and class objects
  (`class={active: isActive, 'is-open': open}`) now give their classes.
- Split on HTML whitespace (space, tab, new line, form feed, carriage
  return) and drop empty words, as purgecss-from-html does.
- Also add the whole value when it isn't its only word, so that
  `[title="hello world"]` is kept, as purgecss-from-html does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

906 of 1005 branches covered (90.15%)

Branch coverage included in aggregate %.

928 of 929 relevant lines covered (99.89%)

10622.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43603696488.1 14 Nov 2026 02:14PM UTC 18
93.19
GitHub Action Run
Source Files on build 43603696488
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43603696488
  • 69ef3e8f on github
  • Prev Build on main (#43596675794)
  • Next Build on main (#43603768095)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc