Skip to content

Commit

Permalink
fix: one more sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Jan 18, 2022
1 parent 2210c73 commit 3a2f665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagrams/class/classDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const cleanupLabel = function (label) {
if (label.substring(0, 1) === ':') {
return common.sanitizeText(label.substr(1).trim(), configApi.getConfig());
} else {
return label.trim();
return sanitizeText(label.trim());
}
};

Expand Down

0 comments on commit 3a2f665

Please sign in to comment.