More "remove unneeded spaces" for Arabic - thx OmrSi :)

Work on #4077
This commit is contained in:
Nikolaj Olsson 2020-04-01 07:29:23 +02:00
parent 2973292c18
commit cc6a8a479a

View File

@ -2099,6 +2099,11 @@ namespace Nikse.SubtitleEdit.Core
text = text.Replace(" و ", " و");
}
while (text.Contains("\"و "))
{
text = text.Replace("\"و ", "\"و");
}
while (text.Contains("ـ "))
{
text = text.Replace("ـ ", " ـ");