diff --git a/OneMore/Commands/Page/SplitCommand.cs b/OneMore/Commands/Page/SplitCommand.cs index 9dabd0a39f..1820bfef53 100644 --- a/OneMore/Commands/Page/SplitCommand.cs +++ b/OneMore/Commands/Page/SplitCommand.cs @@ -272,6 +272,14 @@ private IEnumerable GetContent(Heading heading, Heading next) content.AddRange(after); } + if (!content.Any()) + { + // provide default content - empty line - if header is not followed by anything + content.Add(new XElement(ns + "OE", + new XElement(ns + "T", new XCData(string.Empty)) + )); + } + return content; } }