diff --git a/src/diagrams/class/classDb.js b/src/diagrams/class/classDb.js index a20bdd075..dcb62164c 100644 --- a/src/diagrams/class/classDb.js +++ b/src/diagrams/class/classDb.js @@ -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(); }