gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
74.85k stars 7.47k forks source link

In markdown, apostrophes render upside down (lsquo instead of rsquo) after links #6624

Closed jprenken closed 4 years ago

jprenken commented 4 years ago

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

$ hugo version
Hugo Static Site Generator v0.61.0-9B445B9D/extended darwin/amd64 BuildDate: 2019-12-11T08:32:34Z

Does this issue reproduce with the latest release?

Yes.

In a markdown file within content/, I placed an apostrophe right after a link: Eat at [Joe](https://example.com/)'s

This should be rendered as: Eat at <a href="https://example.com/">Joe</a>&rsquo;s

But instead, it's rendered with the apostrophe upside down: Eat at <a href="https://example.com/">Joe</a>&lsquo;s

jprenken commented 4 years ago

I think this bug occurs only in a more specific case than I first thought. It's when the link text is in all-caps:

[ICANN](https://icann.org/)'s

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

jprenken commented 4 years ago

I just reproduced this bug in v0.71.1.

jprenken commented 4 years ago

I see this was fixed in #7067 for release v0.72.0. Thank you!

github-actions[bot] commented 2 years ago

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.