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

shrink xmlns

This commit is contained in:
源文雨
2023-02-15 16:08:28 +08:00
parent e2bc804cc1
commit 2771d05a51
8 changed files with 116 additions and 32 deletions

View File

@@ -7,7 +7,7 @@ import (
// Text object contains the actual text
type Text struct {
XMLName xml.Name `xml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main t"`
XMLName xml.Name `xml:"w:t"`
XMLSpace string `xml:"xml:space,attr,omitempty"`
Text string `xml:",chardata"`
}