comment
This commit is contained in:
parent
a9f0d5978b
commit
5b5f9e0923
1 changed files with 1 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ func setGraphAttrs(attrs dagreGraphAttrs) string {
|
|||
}
|
||||
|
||||
func escapeID(id string) string {
|
||||
// an unescaped \r will become a \n in the layout result
|
||||
return strings.ReplaceAll(id, "\r", "\\r")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue