Fix for broken gitGraph for Mermaid Live Editor

This commit is contained in:
ashishj 2022-04-21 21:33:49 +02:00
parent df87ab8818
commit a6299d8334
1 changed files with 1 additions and 0 deletions

View File

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