summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorecharlus <echarlus@users.noreply.github.com>2020-04-08 18:50:20 +0200
committerGitHub <noreply@github.com>2020-04-09 00:50:20 +0800
commita2e1da8d9d90ed71a33523cfe2c5231cd0b5fad9 (patch)
treedf240e7f27c740ed31eef70041bce9a9fd0b0950
parent6e90fa6b1d00b2c4ce85e79ee4054ee847fbbc87 (diff)
Fix for issue #608 (#609)
-rw-r--r--styles.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/styles.go b/styles.go
index fe2bed5..61b8e53 100644
--- a/styles.go
+++ b/styles.go
@@ -2732,7 +2732,7 @@ func drawCondFmtCellIs(p int, ct string, format *formatConditional) *xlsxCfRule
c.Formula = append(c.Formula, format.Minimum)
c.Formula = append(c.Formula, format.Maximum)
}
- _, ok = map[string]bool{"equal": true, "notEqual": true, "greaterThan": true, "lessThan": true}[ct]
+ _, ok = map[string]bool{"equal": true, "notEqual": true, "greaterThan": true, "lessThan": true, "greaterThanOrEqual": true, "lessThanOrEqual": true, "containsText": true, "notContains": true, "beginsWith": true, "endsWith": true}[ct]
if ok {
c.Formula = append(c.Formula, format.Value)
}