mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-03 23:56:44 +02:00
fix: one more sanitization
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user