Keep closing tag
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 577
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
in my header.php I open the body-tag in in my footer.php I close it. But html-minifier removes this tag in my footer.php because it can't find the opening-tag in the same file.
Is there a way to enable this function?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the case described across header.php and footer.php, where the body tag is opened in one file and closed in the other. Read the HTML minifier behavior around document fragments and determine whether an option can preserve the closing tag; done means the footer.php closing tag is retained without breaking minification.
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
- Needs clarification
- Newbie friendliness
- 25/100