From ee35497935cac81b951d3a7b4f9dc3902c70e37c Mon Sep 17 00:00:00 2001 From: xuancanh Date: Wed, 22 Jul 2020 20:20:00 +0800 Subject: [PATCH] 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 Co-authored-by: xuri --- .travis.yml | 4 ++-- comment.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92852cf487..84c797ea40 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 8414b401d2..6010891318 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", }, }, }