partial rollback on config factorization

This commit is contained in:
Matthieu MOREL 2020-12-06 14:58:22 +01:00
parent b1bb2dce16
commit 4debc2dffb
1 changed files with 1 additions and 0 deletions

View File

@ -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