summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuancanh <xuancanh.1994@gmail.com>2020-07-22 20:20:00 +0800
committerGitHub <noreply@github.com>2020-07-22 20:20:00 +0800
commitee35497935cac81b951d3a7b4f9dc3902c70e37c (patch)
tree2e9a158adaf7a47c701c866d5e0802d8a415f905
parent13e7bce6d22bd8989084f34280fffcefef7ad9b7 (diff)
Fix #673 comment shape compatibility issue with the recent Excel versions
* Fix comment shape compatibility issue * Using Go modules with Travis CI * Update .travis.yml Co-authored-by: Canh Nguyen <nguyenxc@seagroup.com> Co-authored-by: xuri <xuri.me@gmail.com>
-rw-r--r--.travis.yml4
-rw-r--r--comment.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 92852cf..84c797e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,8 +19,8 @@ env:
- GOARCH=386
script:
- - go vet ./...
- - go test ./... -v -coverprofile=coverage.txt -covermode=atomic
+ - env GO111MODULE=on go vet ./...
+ - env GO111MODULE=on go test ./... -v -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/comment.go b/comment.go
index 8414b40..6010891 100644
--- a/comment.go
+++ b/comment.go
@@ -164,7 +164,7 @@ func (f *File) addDrawingVML(commentID int, drawingVML, cell string, lineCount,
},
VPath: &vPath{
Gradientshapeok: "t",
- Connecttype: "miter",
+ Connecttype: "rect",
},
},
}