Formatting (whitespace only)

This commit is contained in:
Waldi Ravens 2015-08-26 06:29:50 +02:00
parent 4bec9c5496
commit 9b2eaa68ef
7 changed files with 19 additions and 22 deletions

View File

@ -27,7 +27,6 @@ namespace Nikse.SubtitleEdit.Core
if (includeFont && len > 8 && text[len - 7] == '<' && text[len - 6] == '/') if (includeFont && len > 8 && text[len - 7] == '<' && text[len - 6] == '/')
return true; return true;
return false; return false;
} }
public static bool LineBreakStartsWithHtmlTag(this string text, bool threeLengthTag, bool includeFont = false) public static bool LineBreakStartsWithHtmlTag(this string text, bool threeLengthTag, bool includeFont = false)

View File

@ -167,7 +167,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
var textNode = xml.CreateElement("Text"); var textNode = xml.CreateElement("Text");
textNode.InnerText = line; textNode.InnerText = line;
paragraphNode.AppendChild(textNode); paragraphNode.AppendChild(textNode);
} }
fileBodyNode.AppendChild(content.SelectSingleNode("ContentBlock")); fileBodyNode.AppendChild(content.SelectSingleNode("ContentBlock"));
} }
@ -214,7 +213,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
} }
} }
subtitle.Renumber(); subtitle.Renumber();
} }
catch (Exception) catch (Exception)
{ {