mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-21 02:23:39 +08:00
🎨 改进代码样式 (#24)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
843de6e909
commit
23dde4f745
@@ -76,7 +76,7 @@ func (pgsz *PgSz) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
|||||||
case "h":
|
case "h":
|
||||||
pgsz.H = xml.Attr{Name: xml.Name{Local: "w:w"}, Value: attr.Value}
|
pgsz.H = xml.Attr{Name: xml.Name{Local: "w:w"}, Value: attr.Value}
|
||||||
default:
|
default:
|
||||||
//ignore other attributes now
|
// ignore other attributes now
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Consume the end element
|
// Consume the end element
|
||||||
|
|||||||
Reference in New Issue
Block a user