-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Referencing a footnote multiple times lists the footnote once for each reference #1912
Comments
This smells like a bug, but in https://github.com/russross/blackfriday Could you open up an issue there and add a reference back to this issue? |
This issue has been automatically marked as stale because it has not been commented on for at least four months. 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 If this is a feature request, and you feel that it is still valuable, please open a proposal at https://discuss.gohugo.io/. This issue will automatically be closed in four months if no further activity occurs. Thank you for all your contributions. |
Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't. If this is a bug and you can still reproduce this error on the latest If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. |
This is a bug, though it may be related to the markdown processor and not hugo. To reproduce:
Hugo will generate references with two separate links, instead of one combined. |
This should be fixed now over in Blackfriday. See |
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 don't know if this is intended or not (what would the return link do?), but I feel like duplicating the footnote is not the right way to go. The link even points to the uppermost footnote (instead of the one generated for this link).
An effect of this is if you try to reference the footnote itself in the footnote, Hugo crashes.
[^recursion]: See Recursion[^recursion]
output:
The text was updated successfully, but these errors were encountered: