MotherTongues / mothertongues-UI

1 stars 2 forks source link

highlighting is broken for situations where there is punctuation surrounded by whitespace #21

Open roedoejet opened 4 months ago

roedoejet commented 4 months ago

see image

where the last word has a semicolon surrounded by white-space, this was probably removed and whitespace collapsed, resulting in a mismatch in indices. I should add some tests for this type of edge case

Maamashkaach commented 2 weeks ago

There were some other issues that broke highlighting as well. Here is my fix:

file: mothertongues-UI/packages/mtd-mobile-ui/src/app/shared/search-entry-list.component.ts

highlight fix

dhdaines commented 2 weeks ago

Thank you!