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

[Goldmark] Typographer does not replace apostrophes next to letters with accents (such as è) #7113

Closed
loup-brun opened this issue Mar 31, 2020 · 4 comments

Comments

@loup-brun
Copy link

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

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

Does this issue reproduce with the latest release?

Yes.
I was having this issue with older versions of Hugo (such as v0.65.0).
Updating to the latest (v0.68.3) did not solve the issue.

The problem

I appreciate using the typographer extensoin for rendering markdown using Goldmark.
The extension usually works well, except when apostrophes are next to characters with an accent, such as an ‘e’ with accent aigu ‘é’.

With accent aigu ‘é’, apostrophe is not replaced:
With accent aigu ‘é’, apostrophe is not replaced

With no accent, apostrophe correctly replaced:
With no accent, apostrophe correctly replaced

I know this is an issue related to Goldmark, but the maintainer asks to open an issue here first (since Goldmark “is not dedicated to Hugo”).

@bep
Copy link
Member

bep commented Apr 1, 2020

Thanks for the report. This looks like it could be an issue with Goldmark. Could you create an issue at https://github.com/yuin/goldmark/issues and link back to this issue so we could track it?

@bep bep modified the milestones: v0.69, v0.70 Apr 8, 2020
@loup-brun
Copy link
Author

Issue has been fixed upstream in the Goldmark repo, see here:

yuin/goldmark#121 (comment)

Thanks!

@bep bep closed this as completed in feaa582 Apr 13, 2020
@loup-brun
Copy link
Author

Thank you!

@github-actions
Copy link

github-actions bot commented Feb 4, 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 Feb 4, 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