diff --git a/Build/mkall.targets b/Build/mkall.targets index e6ea5772b7..d821c2147f 100644 --- a/Build/mkall.targets +++ b/Build/mkall.targets @@ -234,7 +234,7 @@ 6.0.0-beta0063 17.0.0-beta0089 9.4.0.1-beta - 11.0.0-beta0148 + 11.0.0-beta0149 70.1.123 3.7.4 1.1.1-beta0001 diff --git a/Build/nuget-common/packages.config b/Build/nuget-common/packages.config index d10f508027..fcbe0bce80 100644 --- a/Build/nuget-common/packages.config +++ b/Build/nuget-common/packages.config @@ -52,15 +52,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/Src/LexText/Interlinear/BIRDInterlinearImporter.cs b/Src/LexText/Interlinear/BIRDInterlinearImporter.cs index 625a6a997b..ec39cdc5e8 100644 --- a/Src/LexText/Interlinear/BIRDInterlinearImporter.cs +++ b/Src/LexText/Interlinear/BIRDInterlinearImporter.cs @@ -332,8 +332,9 @@ private static void UpdateParagraphTextForPhrase(IStTxtPara newTextPara, ref int } offset += phraseText.Length; var oldText = (bldr.Text ?? "").Trim(); - if (oldText.Length > 0 && !TsStringUtils.IsEndOfSentenceChar(oldText[oldText.Length - 1], - Icu.Character.UCharCategory.OTHER_PUNCTUATION)) + LcmCache cache = newTextPara.Cache; + ITsString tsString = TsStringUtils.MakeString(oldText, cache.DefaultVernWs); + if (oldText.Length > 0 && !ParagraphParser.EndsWithEOS(tsString, cache)) { // 'segment' does not end with recognizable EOS character. Add our special one. bldr.Replace(bldr.Length, bldr.Length, "\x00A7", null);