Fix for broken gitGraph for Mermaid Live Editor

This commit is contained in:
ashishj 2022-04-21 18:16:22 +02:00
parent 473aced449
commit 8966639e65
1 changed files with 1 additions and 1 deletions

View File

@ -80,9 +80,9 @@ function parse(text) {
log.debug('Type ' + graphType);
switch (graphType) {
case 'gitGraph':
gitGraphAst.clear();
parser = gitGraphParser;
parser.parser.yy = gitGraphAst;
parser.parser.yy.clear();
break;
case 'flowchart':
flowDb.clear();