cobrateam / cobrateam/django-htmlmin

DOCTYPE is always removed

Open
#89 3 comments 2 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
542
Forks
72
PR merge metrics
No merged PRs in 30d

Description

After minifying it always removes from top of html content that cause the Google Chrome to load all content as body.

Loading all content in Body leads to many errors by Angular JS Lazy Loader. Fix it

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the HTML minification entry point and reproducing the issue with content beginning with . Trace where the doctype is removed and verify that minified output preserves it so Chrome does not treat the document as body content; add or run a focused regression check if the project provides one.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.