mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 18:26:39 +02:00
fix(#1192): relation got cut off
This commit is contained in:
@@ -140,7 +140,7 @@ export const addMembers = function(className, members) {
|
||||
|
||||
export const cleanupLabel = function(label) {
|
||||
if (label.substring(0, 1) === ':') {
|
||||
return label.substr(2).trim();
|
||||
return label.substr(1).trim();
|
||||
} else {
|
||||
return label.trim();
|
||||
}
|
||||
|
Reference in New Issue
Block a user