Skip to content

Commit

Permalink
Adjust footnote urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Nov 27, 2023
1 parent 7601f9b commit 71012a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/teacon/chahoutan/entity/Revision.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Map<String, String> getFootnoteUrls()
var footnoteCount = this.footnotes.size();
var map = new LinkedHashMap<String, String>(footnoteCount);
for (int i = 0; i < footnoteCount; ++i) {
map.put(String.format("[%d]", i + 1), "#footnote-" + this.footnotes.get(i));
map.put(String.format("[%d]", i + 1), "#footnote-" + i);
}
return Map.copyOf(map);
}
Expand Down

0 comments on commit 71012a9

Please sign in to comment.