forked from torchbox/wagtail-footnotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at allowing multiple references to the same footnote
Previously this generated the same ``id`` attribute for every link in rich text for the same footnote, which breaks the "Back to content" link. This generates a unique ``id`` for each footnote reference. This commit does not expose these links on the front-end (yet), but at least the "back" link will point to a single id.
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters