diff --git a/src/diagrams/flowchart/flowDb.js b/src/diagrams/flowchart/flowDb.js index 34e1fbb82..8709d737a 100644 --- a/src/diagrams/flowchart/flowDb.js +++ b/src/diagrams/flowchart/flowDb.js @@ -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