Skip to content

Commit

Permalink
Fix for ReplaceText not checking for return char. Fix provided by gia…
Browse files Browse the repository at this point in the history
…nx10. Thank you
  • Loading branch information
PrzemyslawKlys committed Nov 18, 2015
1 parent db10339 commit 24dd8ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DocX/HelperFunctions.cs
Expand Up @@ -566,6 +566,7 @@ internal static List<XElement> FormatInput(string text, XElement rPr)
}
newRuns.Add(new XElement(DocX.w + "r", rPr, tabRun));
break;
case '\r':
case '\n':
if (sb.Length > 0)
{
Expand Down

0 comments on commit 24dd8ee

Please sign in to comment.