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

--minify breaks space between elements #10424

Closed
QuAzI opened this issue Nov 7, 2022 · 3 comments
Closed

--minify breaks space between elements #10424

QuAzI opened this issue Nov 7, 2022 · 3 comments

Comments

@QuAzI
Copy link

QuAzI commented Nov 7, 2022

With --minify
image

Without --minify
image

Theme m10c

HUGO_VERSION: 0.105.0
Extended

QuAzI added a commit to QuAzI/quazi.github.io that referenced this issue Nov 7, 2022
@jmooring
Copy link
Member

jmooring commented Nov 7, 2022

We need to see the non-minified HTML.

@pamubay
Copy link

pamubay commented Nov 8, 2022

@QuAzI That's correct behavior, it's <div> vs <div> elements. div is block-element

This is the code of your template:

https://github.com/QuAzI/quazi.github.io/blob/4658aefb979423ffb2dd48aaa18fb6327cd239b4/themes/m10c/layouts/_default/single.html#L6-L25

You can test it here:

go.tacodewolff.nl/minify


references:

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants