Skip to content

Bugfix/mima highlight - #3

Open
Meesch wants to merge 2 commits into
mainfrom
bugfix/mima-highlight
Open

Bugfix/mima highlight#3
Meesch wants to merge 2 commits into
mainfrom
bugfix/mima-highlight

Conversation

@Meesch

@Meesch Meesch commented Sep 3, 2026

Copy link
Copy Markdown

On the MiMA web app I discovered that there is a bug within Luupzig, specifically one that would not show the final word in a sentence if that word was fully highlighted. This was caused by the Gloss Tokenizer, which only checked the first element in parts (line 120) for length. If a word is highlighted, the first element of the parts array is empty, I am not entitrely sure why, but I changed the check to include all parts, and now the highlighting works as intended again.

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.

2 participants