Yet another minor fix for new sub format

This commit is contained in:
niksedk 2015-08-25 16:54:23 +02:00
parent edbe7f5d97
commit 86629c9bfd

View File

@ -172,7 +172,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
} }
fileBodyNode.AppendChild(content.SelectSingleNode("ContentBlock")); fileBodyNode.AppendChild(content.SelectSingleNode("ContentBlock"));
} }
return ToUtf8XmlString(xml).Replace(" xmlns=\"\"", string.Empty); return ToUtf8XmlString(xml, true).Replace(" xmlns=\"\"", string.Empty);
} }
public override void LoadSubtitle(Subtitle subtitle, List<string> lines, string fileName) public override void LoadSubtitle(Subtitle subtitle, List<string> lines, string fileName)