Trying to fix issue with DCiname interop on Linux

This commit is contained in:
Nikolaj Olsson 2016-07-16 19:48:26 +02:00
parent e34391e9b0
commit 2df5c072b9

View File

@ -431,8 +431,11 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
s = s.Replace("</Font> ", "</Font> ");
s = s.Replace(" <Font ", " <Font ");
s = s.Replace("\r\n<Font ", "<Font ");
s = s.Replace("\r\n <Font ", "<Font ");
s = s.Replace(Environment.NewLine + "<Font ", "<Font ");
s = s.Replace(Environment.NewLine + " <Font ", "<Font ");
s = s.Replace("</Font>\r\n", "</Font>");
s = s.Replace("</Font>" + Environment.NewLine, "</Font>");
s = s.Replace("><", "> <");
s = s.Replace("</Font> </Text>", "</Font></Text>");