mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 20:09:46 +02:00
Fix for broken gitGraph for Mermaid Live Editor
This commit is contained in:
@@ -81,6 +81,7 @@ function parse(text) {
|
||||
log.debug('Type ' + graphType);
|
||||
switch (graphType) {
|
||||
case 'gitGraph':
|
||||
gitGraphAst.clear();
|
||||
parser = gitGraphParser;
|
||||
parser.parser.yy = gitGraphAst;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user