Merge pull request #1801 from ivandrofly/patch-ocr

[OCR] - Fix from prev PR.
This commit is contained in:
Nikolaj Olsson 2016-06-18 23:47:09 +02:00 committed by GitHub
commit 1342b062fb

View File

@ -289,7 +289,8 @@ namespace Nikse.SubtitleEdit.Core.Dictionaries
word = word.Replace('`', '\'');
word = word.Replace('', '\'');
word = word.Replace('—', '-');
word = word.Replace("--", "-");
while(word.Contains("--"))
word = word.Replace("--", "-");
word = word.Replace('|', 'l');
word = word.Replace("vx/", "w");
if (word.Contains('¤'))