Skip to content

Use minify_html#24

Draft
OskarZyg wants to merge 1 commit into
mkrd:mainfrom
OskarZyg:minify-html
Draft

Use minify_html#24
OskarZyg wants to merge 1 commit into
mkrd:mainfrom
OskarZyg:minify-html

Conversation

@OskarZyg
Copy link
Copy Markdown

@OskarZyg OskarZyg commented Jul 3, 2025

Refactor minify_html to use https://github.com/wilsonzlin/minify-html.

Test test_get_index does not pass, but I believe that the test is at fault as the numbers used in the test use the non-minified version of the html. I am not entirely certain on the methodology to obtain the lengths in these so I'd rather leave it up for conversation.

Resolves #13

@mkrd
Copy link
Copy Markdown
Owner

mkrd commented Jul 4, 2025

@OskarZyg The sizes are obtained by just running the tests, and inserting the actual number size, which is shown when the test fails. I think a great idea would be to also add a test to specifically test the html minification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate HTML minification

2 participants