mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
partial rollback on config factorization
This commit is contained in:
parent
b1bb2dce16
commit
4debc2dffb
@ -72,6 +72,7 @@ export const addVertex = function(_id, text, type, style, classes) {
|
||||
}
|
||||
vertexCounter++;
|
||||
if (typeof text !== 'undefined') {
|
||||
config = configApi.getConfig();
|
||||
txt = common.sanitizeText(text.trim(), config);
|
||||
|
||||
// strip quotes if string starts and ends with a quote
|
||||
|
Loading…
x
Reference in New Issue
Block a user