Skip to content

Conversation

@windymilla
Copy link
Collaborator

Bug occurred because it changed the number in the footnote for every anchor. So if there were two anchors, it changed the number in the footnote twice. However, the change was based on character positions, so if the number was "26", it replaced those two characters with "XXVI.", for example, then when it did the second replacement, it replaced two of those characters with "XXVI." leading to something like "XXVI.VI."

Fixes #1595

Bug occurred because it changed the number in the footnote
for every anchor. So if there were two anchors, it changed
the number in the footnote twice. However, the change was
based on character positions, so if the number was "26", it
replaced those two characters with "XXVI.", for example, then
when it did the second replacement, it replaced two of
those characters with "XXVI." leading to something like
"XXVI.VI."

Fixes DistributedProofreaders#1595
@windymilla windymilla requested a review from srjfoo December 7, 2025 20:05
@windymilla windymilla merged commit e7a36d3 into DistributedProofreaders:master Dec 9, 2025
1 check passed
@windymilla windymilla deleted the roman-bug branch December 9, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in convert FN to Roman numerals?

2 participants