Skip to content

Entity Footnotes patch v1.0.7

Choose a tag to compare

@Dukko Dukko released this 10 Aug 14:18
· 1 commit to main since this release

Fixes false-positive underlines: common lowercase words that share spelling with a proper noun (e.g. "black" the color vs "Black" the character) and lowercase substrings inside unrelated words (e.g. "than" containing "han") were being underlined as entity mentions.

Entity matching now runs case-sensitively: names and aliases only match their original (proper-noun) capitalization, instead of matching any case. This is a tighter filter than \b word boundaries alone, since word boundaries don't protect against a short name legitimately appearing, lowercase, as a substring inside a longer unrelated word's letters.

Trade-off: text in ALL-CAPS (some chapter headers or title pages) will no longer be underlined, since it won't case-match. Noted in the README's Known limitations.