Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't remove the spaces in template HTML #3639

Merged
merged 1 commit into from
Mar 9, 2018
Merged

Don't remove the spaces in template HTML #3639

merged 1 commit into from
Mar 9, 2018

Conversation

fredj
Copy link
Member

@fredj fredj commented Mar 9, 2018

Otherwise it breaks the fontawesome placement.

the doc for the remove_all_empty_space option says: This is almost guaranteed to break your HTML :-)

Otherwise it breaks the fontawesome placement.
@@ -23,8 +23,6 @@
content = htmlmin.minify(
content,
remove_comments=True,
remove_empty_space=True,
remove_all_empty_space=True,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your sure that you should remove booth?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I tried to remove only remove_all_empty_space but it didn't work

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks :-)

@fredj fredj merged commit 3fb391d into master Mar 9, 2018
@fredj fredj deleted the GSGMF-302 branch March 9, 2018 09:07
@sbrunner sbrunner added this to the 2.3 milestone Apr 12, 2018
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.

3 participants