Fixed parsing of newline character in string expression #1430

This commit is contained in:
Mike Farah
2022-11-14 16:40:59 +11:00
parent 1fd96e168e
commit e02bb71948
3 changed files with 26 additions and 0 deletions
+1
View File
@@ -432,6 +432,7 @@ func split(value string, spltStr string) *yaml.Node {
var contents []*yaml.Node
if value != "" {
log.Debug("going to spltStr[%v]", spltStr)
var newStrings = strings.Split(value, spltStr)
contents = make([]*yaml.Node, len(newStrings))