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

Class not writen in hugo_stats.json when there is an apostrophe (') in (a href) title value. #7746

Closed
divinerites opened this issue Sep 28, 2020 · 1 comment
Milestone

Comments

@divinerites
Copy link

divinerites commented Sep 28, 2020

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.75.1/extended darwin/amd64 BuildDate: unknown

Does this issue reproduce with the latest release?

Yes.

  • Exemple : <a href="{{ $url }}" class="missingclass" title="Plus d'information">my text</a>
  • Class missingclass not writen in hugo_stats.json.
  • This also prevent following classes to be treated.

All details are in this thread : https://discourse.gohugo.io/t/template-file-being-ignored-by-writestats/26447/4

@divinerites divinerites changed the title Classe not writen in hugo_stats.json when there is an apostrophe (') in title value. Classe not writen in hugo_stats.json when there is an apostrophe (') in (a href) title value. Sep 28, 2020
@divinerites divinerites changed the title Classe not writen in hugo_stats.json when there is an apostrophe (') in (a href) title value. Class not writen in hugo_stats.json when there is an apostrophe (') in (a href) title value. Sep 28, 2020
@bep bep added this to the v0.76 milestone Sep 28, 2020
@bep bep added the Bug label Sep 28, 2020
@bep bep closed this as completed in 1113441 Sep 28, 2020
@github-actions
Copy link

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 Jan 27, 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

2 participants