mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
Cleanup
This commit is contained in:
@@ -158,12 +158,6 @@ export class ClassMember {
|
||||
}
|
||||
}
|
||||
this.text = this.text.charAt(0) + replacedRaw;
|
||||
|
||||
if (this.visibility === '~') {
|
||||
this.text = this.text.replace('~', '\\~');
|
||||
}
|
||||
} else if (count === 1 && this.visibility === '~') {
|
||||
this.text = this.text.replace('~', '\\~');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user