\n replaceAll

This commit is contained in:
mr
2026-03-17 15:49:27 +01:00
parent 94837f8d24
commit 7f8d697e4c

View File

@@ -257,7 +257,7 @@ func (d *Workflow) extractResourcePlantUML(line string, resource resources.Resou
if len(splitted) <= 1 {
return "", nil, errors.New("Can't deserialize Object, there's no name")
}
resource.SetName(strings.ReplaceAll(splitted[1], "\\\\n", ""))
resource.SetName(strings.ReplaceAll(splitted[1], "\\n", ""))
splittedComments := strings.Split(line, "'")
if len(splittedComments) > 1 {