Skip to content

Commit

Permalink
Merge pull request #912 from PBrunot/master
Browse files Browse the repository at this point in the history
fix #911
  • Loading branch information
tonyqus authored Aug 19, 2022
2 parents 077860e + 5154700 commit 506d949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenXmlFormats/Wordprocessing/Sdt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,15 +454,15 @@ internal void Write(StreamWriter sw, string nodeName)
sw.Write(">");
if (this.sdtPr != null)
this.sdtPr.Write(sw, "sdtPr");
if (this.sdtContent != null)
this.sdtContent.Write(sw, "sdtContent");
if (this.sdtEndPr != null)
{
foreach (CT_RPr x in this.sdtEndPr)
{
x.Write(sw, "sdtEndPr");
}
}
if (this.sdtContent != null)
this.sdtContent.Write(sw, "sdtContent");
sw.Write(string.Format("</w:{0}>", nodeName));
}

Expand Down

0 comments on commit 506d949

Please sign in to comment.