Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XliffCompare: Make non-breaking space edits visible in report #1044

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

murxh
Copy link
Contributor

@murxh murxh commented Jun 17, 2022

So far edits where a space had been replaced with a nbsp (or vice versa) are not shown. This fix addresses this by creating a 'word' when one or more non-breaking spaces are encountered.

murxh and others added 6 commits June 17, 2022 22:04
UNNECESSARY AND POSSIBLE NULL REFERENCE EXCEPTION: SourceFile might be null in a WorldServer project
ProjectFileService.GetProjectFiles fails silently if it encounters invalid xml chars (like 0x1C, 0x1E, ...), resulting in an empty export file without any warning to the user

An easy fix is to use XmlReaderSettings { CheckCharacters = false };
StudioViews.Services.ProjectFileService: Update GetProjectFiles to avoid silent fail
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.

1 participant