1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-15 22:10:26 +08:00
This commit is contained in:
源文雨
2023-02-23 13:20:31 +08:00
parent 8f87a17722
commit 59cce024f7
5 changed files with 150 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ func (p *Paragraph) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
}
}
for _, c := range p.Children {
e.Encode(c)
err = e.Encode(c)
if err != nil {
return err
}