kangax / kangax/html-minifier

Remove empty lines from --remove-comments option

Open
#1,032 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
577
PR merge metrics
No merged PRs in 30d

Description

How do I remove the empty lines left by the --remove-comments option?

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the implementation of the --remove-comments option and reproduce the reported behavior with HTML containing comments and surrounding empty lines. Trace how the option transforms that input, then verify that removing comments does not leave unintended empty lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.