diff options
author | xuri <xuri.me@gmail.com> | 2019-10-16 01:03:29 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-10-17 00:02:39 +0800 |
commit | 2e791fa433def282ee2e7a5049a46fc4a76796cf (patch) | |
tree | 8d0ad49e63d7154b1ba6687f6d289cfb1d0d2643 /cell.go | |
parent | 2d21b5b50f30ae9868b2f8b1f7299ceefcf87fd2 (diff) |
Optimize code of Getting/Setting Page Margins
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ func (f *File) SetCellStr(sheet, axis, value string) error { if len(value) > 32767 { value = value[0:32767] } - // Leading space(s) character detection. + // Leading and ending space(s) character detection. if len(value) > 0 && (value[0] == 32 || value[len(value)-1] == 32) { cellData.XMLSpace = xml.Attr{ Name: xml.Name{Space: NameSpaceXML, Local: "space"}, |