mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Formatting (whitespace only)
This commit is contained in:
parent
4bec9c5496
commit
9b2eaa68ef
@ -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)
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user