mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 10:16:43 +02:00
#2496 A more delicate fix for issue
This commit is contained in:
@@ -25,7 +25,7 @@ const splitClassNameAndType = function (id) {
|
||||
let split = id.split('~');
|
||||
className = split[0];
|
||||
|
||||
genericType = split[1];
|
||||
genericType = common.sanitizeText(split[1], configApi.getConfig());
|
||||
}
|
||||
|
||||
return { className: className, type: genericType };
|
||||
|
Reference in New Issue
Block a user