Add new option "preserveClassAttribute" to preserve class attribute on elements
Open
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 233
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 8
Description
Gmail for example will condense an email if it is over a certain length. Removing class names after juice is run would help decrease the length drastically.
Contributor guide
Research direction
No file or test is named. Start by locating how Juice options are parsed and how class attributes are handled during CSS inlining; then inspect the existing tests before deciding where coverage belongs. The work is done when the option preserves class attributes while the default behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100