-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Plural possessives and “smart” punctuation #8099
Comments
It seems to be a goldmark issue, indeed. When using blackfriday, ‘trailing apostrophes’ work:
Output:
Happy New Year! |
Thanks, @Brixy — will file an issue in the Goldmark repo. |
Upstream has a stale bot that automatically closed the issue because we didn't constantly comment. The issue has not been fixed, but the upstream author says "I welcome PR from native English writers.", so it could be fixed upstream if we can find someone to help. Here are two web pages demonstrating the issues: Can anyone figure out a solution and/or submit a PR for Goldmark? Since Blackfriday is being deprecated, there does not seem to be a good workaround. |
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. |
I am using Hugo 0.79.1. The issue does occur with this version.
While I suspect it’s Goldmark-caused rather than Hugo-caused, the Goldmark developer seems to require Goldmark issues that are observed in Hugo to be proposed as Hugo issues before he will have anything to do with them. So I’ll start here.
Consider the following text in a Markdown file:
Expected result: Each apostrophe should be a “smart”/curly apostrophe (
’
), given the default behavior of Goldmark’s Typographer extension as it works in Hugo.Actual result: Only the singular possessive (
John's dog
) has the “smart”/curly apostrophe, while the plural possessive (Smiths' dog
) has the “dumb”/straight apostrophe ('
).Thanks in advance for any help or consideration this issue may receive.
The text was updated successfully, but these errors were encountered: