mortii / anki-morphs

A MorphMan fork rebuilt from the ground up with a focus on simplicity, performance, and a codebase with minimal technical debt.
https://mortii.github.io/anki-morphs/
Mozilla Public License 2.0
48 stars 6 forks source link

Mismatch between morpheme and am-highlighted #163

Closed cocowash closed 4 months ago

cocowash commented 4 months ago

Describe the bug Anki-moprhs recognizes the correct morph but fails to highlight it correctly

To Reproduce Steps to reproduce the behavior: just run recalc on the current version

Screenshots 01 Captura de pantalla 2024-02-26 120324 02 (this is the source from which am-highlighted is getting the sentence)

Desktop (please complete the following information):

Additional context I think this behavior is the result from recent updates to the plugin, I haven't changed any substantial recently. I tried to erase am-highlighted manually to see if that would repopulate it correctly, but I hadn't a good result.

Thanks again for sharing this add-on to the community, I really appreciate your effort.

mortii commented 4 months ago

Very weird, i'll take a look.

mortii commented 4 months ago

ah, I forgot to specify that the regex should ignore cases. With that addition I get this:

Screenshot from 2024-02-26 12-46-35

I'll push a hotfix asap!

mortii commented 4 months ago

Fixed in v1.2.5, thanks for letting me know!

github-actions[bot] commented 4 months ago

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.