mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
remove extra space
This commit is contained in:
parent
9fbcc5c32d
commit
4b781d3827
@ -5,8 +5,8 @@ let classes = {};
|
||||
|
||||
const splitClassNameAndType = function(id) {
|
||||
let genericType = '';
|
||||
let className = id;
|
||||
|
||||
let className = id;
|
||||
|
||||
if (id.indexOf('~') > 0) {
|
||||
let split = id.split('~');
|
||||
className = split[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user