diff --git a/src/ui/Logic/Ocr/OcrFixEngine.cs b/src/ui/Logic/Ocr/OcrFixEngine.cs index 89cd02ca94..baae5d0a20 100644 --- a/src/ui/Logic/Ocr/OcrFixEngine.cs +++ b/src/ui/Logic/Ocr/OcrFixEngine.cs @@ -523,9 +523,10 @@ public string FixOcrErrors(string input, Subtitle subtitle, int index, string pr sb = new StringBuilder(); var word = new StringBuilder(); string lastWord = null; + const string wordBoundaryChars = "\r\n "; for (var i = 0; i < text.Length; i++) { - if (text[i] != '.' && "\r\n ".Contains(text[i])) + if (wordBoundaryChars.Contains(text[i])) { if (word.Length > 0) {