Skip to content

Commit

Permalink
fix #911
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Aug 16, 2022
1 parent fe391a0 commit 5154700
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 5154700

Please sign in to comment.