diff --git a/libse/Dictionaries/OcrFixReplaceList.cs b/libse/Dictionaries/OcrFixReplaceList.cs index 52f424ddc..5efc4b8b8 100644 --- a/libse/Dictionaries/OcrFixReplaceList.cs +++ b/libse/Dictionaries/OcrFixReplaceList.cs @@ -185,8 +185,7 @@ namespace Nikse.SubtitleEdit.Core.Dictionaries } sb.AppendLine(s); } - newText = sb.ToString().TrimEnd('\r').TrimEnd('\n').TrimEnd('\r').TrimEnd('\n'); - newText = pre + newText; + newText = pre + sb.ToString().TrimEnd('\r', '\n'); string post = string.Empty; if (newText.EndsWith("", StringComparison.Ordinal))