1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-13 12:20:30 +08:00

Fix links

This commit is contained in:
Gonzalo Fernandez-Victorio
2021-04-30 13:51:52 +01:00
parent c821a33692
commit 9cb29541da
6 changed files with 33 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ func processRelations(file *zip.File) (*Relationships, error) {
fmt.Println("Error reading from internal zip file")
return nil, err
}
rels := Relationships{Xmlns: "none"}
rels := Relationships{Xmlns: XMLNS_R}
err = xml.Unmarshal(filebytes, &rels)
if err != nil {
fmt.Println("Error unmarshalling relationships")