1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-05 07:40:24 +08:00

feat: add table structures

This commit is contained in:
源文雨
2023-02-23 17:41:45 +08:00
parent 402f9c87a1
commit fbaed74afa
6 changed files with 596 additions and 2 deletions

View File

@@ -30,6 +30,11 @@ func (r *Hyperlink) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
if err != nil && !strings.HasPrefix(err.Error(), "expected") {
return err
}
continue
}
err = d.Skip() // skip unsupported tags
if err != nil {
return err
}
}