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

Hugo 0.139.0 minification breaks Google search results #13082

Closed
chalin opened this issue Nov 23, 2024 · 0 comments
Closed

Hugo 0.139.0 minification breaks Google search results #13082

chalin opened this issue Nov 23, 2024 · 0 comments
Assignees
Milestone

Comments

@chalin
Copy link
Contributor

chalin commented Nov 23, 2024

Minification in Hugo 0.139.0 will convert

<gcse:searchresults-only></gcse:searchresults-only>

into

<gcse :searchresults-only></gcse:searchresults-only>

Notice the space in between the "gcse" and the colon. This prevents search results from being displayed.


Hugo 0.138.0 is fine

Results are showing fine here, the last commit using Hugo 0.138.0:

Hugo 0.139.0 adds space to GCSE tag name

With open-telemetry/opentelemetry.io#5642, we upgraded to Hugo 0.139.0, and you can see the inserted space character in the tag name:

Related:

/cc @svrnm @theletterf

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

No branches or pull requests

2 participants