kangax / kangax/html-minifier

is it possible to remove style attributes ?

Open
#322 10 comments 4 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
5k
Forks
577
PR merge metrics
No merged PRs in 30d

Description

i was hoping to do something like:

``` js
minify(HTMLSTRING,{
attrBlackList: ['style']
});
```

is it possible to achieve the same functionality ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the minify API and the existing handling of attribute-related options, then review any relevant tests or documentation. Done means the issue's attrBlackList example can remove style attributes from the minified output, with the behavior covered by project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.