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

Adjust comments to be compatible with compress_html #2373

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Adjust comments to be compatible with compress_html #2373

merged 1 commit into from
Jan 14, 2020

Conversation

gamue
Copy link
Contributor

@gamue gamue commented Jan 14, 2020

This is a bug fix.

Summary

Since enabling compress_html at my page the disqus comments haven't been shown. When looking at the compressed page code I've saw that the // comments are also disabling the code after that as compression removed the line-breaks.
Using /* */ for comments clearly wraps the comment and doesn't deactivate any code afterwards.

Context

@mmistakes
Copy link
Owner

Looks good, thanks!

@mmistakes mmistakes merged commit 741b6dc into mmistakes:master Jan 14, 2020
@gamue gamue deleted the fix-disqus-at-compression branch January 15, 2020 07:34
jesuswasrasta pushed a commit to jesuswasrasta/jesuswasrasta.github.io that referenced this pull request Jul 8, 2020
mzaffran pushed a commit to mzaffran/mzaffran.github.io that referenced this pull request Jan 4, 2021
kaitokikuchi pushed a commit to kaitokikuchi/kaitokikuchi.github.io that referenced this pull request Sep 4, 2023
chukycheese pushed a commit to chukycheese/chukycheese.github.io that referenced this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants