#2541 Sanitizing the label string in class diagrams

This commit is contained in:
Knut Sveidqvist
2021-12-07 21:55:33 +01:00
parent 25b70d8058
commit a97b2cc4da
10 changed files with 36127 additions and 20681 deletions

View File

@@ -149,7 +149,7 @@ export const addMembers = function (className, members) {
export const cleanupLabel = function (label) {
if (label.substring(0, 1) === ':') {
return label.substr(1).trim();
return common.sanitizeText(label.substr(1).trim(), configApi.getConfig());
} else {
return label.trim();
}