ngx-text-diff icon indicating copy to clipboard operation
ngx-text-diff copied to clipboard

Very weird results after removing one "," from sentence.

Open devgeni opened this issue 5 years ago • 1 comments

Hello! Hope you're doing well.

I found a strange behavior while using your demo page when comparing two sentences. I removed just one comma from the text and instead of highlighting just this comma I got a bunch of other highlights.

You can try it yourself.

Here is the text for "Left Content": Normal text: In the process of internal desktop applications development, many different design specs and implementations would be involved, which might cause designers and developers difficulties and duplication and reduce the efficiency of development.

And here is the text for "Right Content": Normal text: In the process of internal desktop applications development many different design specs and implementations would be involved, which might cause designers and developers difficulties and duplication and reduce the efficiency of development.

devgeni avatar Oct 13 '20 19:10 devgeni

Hi @devgeni, nice to meet you and thank you for reporting this issue. I'll try to take a look at it soon and see what happens. In addition, I'm working on a new release with some improvements.

ABenassi87 avatar Oct 13 '20 22:10 ABenassi87