diff --git a/DocX/HelperFunctions.cs b/DocX/HelperFunctions.cs index 4f66883c..69fac2a1 100644 --- a/DocX/HelperFunctions.cs +++ b/DocX/HelperFunctions.cs @@ -566,6 +566,7 @@ internal static List FormatInput(string text, XElement rPr) } newRuns.Add(new XElement(DocX.w + "r", rPr, tabRun)); break; + case '\r': case '\n': if (sb.Length > 0) {