Fix unneeded spaces - "¡ " -> "¡" - thx Alfonso :)

This commit is contained in:
niksedk 2014-03-17 16:16:15 +01:00
parent 3c1f83f617
commit 61722b7cc0

View File

@ -1208,10 +1208,13 @@ namespace Nikse.SubtitleEdit.Forms
if (p.Text.Contains(" ?"))
p.Text = p.Text.Replace(" ?", "?");
}
while (p.Text.Contains("¿ "))
p.Text = p.Text.Replace("¿ ", "¿");
while (p.Text.Contains("¡ "))
p.Text = p.Text.Replace("¡ ", "¡");
if (p.Text.Contains("! </i>" + Environment.NewLine))
p.Text = p.Text.Replace("! </i>" + Environment.NewLine, "!</i>" + Environment.NewLine);