From 3a2f6659a6a06e9b37ae40e04e3a4c9192b69d35 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Tue, 18 Jan 2022 23:26:43 +0100 Subject: [PATCH] fix: one more sanitization --- src/diagrams/class/classDb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagrams/class/classDb.js b/src/diagrams/class/classDb.js index 16f121ec9d..163ac10ddb 100644 --- a/src/diagrams/class/classDb.js +++ b/src/diagrams/class/classDb.js @@ -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()); } };