mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-28 04:40:36 +00:00
fix for issue #45
This commit is contained in:
parent
60df550815
commit
3ea0d8d8ec
@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Fixed
|
### Fixed
|
||||||
- Support for yaml merge keys, by [@bradrydzewski](https://github.com/bradrydzewski).
|
- Support for yaml merge keys, by [@bradrydzewski](https://github.com/bradrydzewski).
|
||||||
|
- Escape values with colons, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#45](https://github.com/drone/drone-yaml/issues/45).
|
||||||
|
|
||||||
## [1.0.9] - 2019-05-20
|
## [1.0.9] - 2019-05-20
|
||||||
### Added
|
### Added
|
||||||
|
@ -65,7 +65,7 @@ func isZero(v interface{}) bool {
|
|||||||
|
|
||||||
func isQuoted(b rune) bool {
|
func isQuoted(b rune) bool {
|
||||||
switch b {
|
switch b {
|
||||||
case '#', ',', '[', ']', '{', '}', '&', '*', '!', '|', '>', '\'', '"', '%', '@', '`':
|
case ':', '#', ',', '[', ']', '{', '}', '&', '*', '!', '|', '>', '\'', '"', '%', '@', '`':
|
||||||
return true
|
return true
|
||||||
case '\a', '\b', '\f', '\n', '\r', '\t', '\v':
|
case '\a', '\b', '\f', '\n', '\r', '\t', '\v':
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user