mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Fix for broken gitGraph for Mermaid Live Editor
This commit is contained in:
parent
df87ab8818
commit
a6299d8334
@ -81,6 +81,7 @@ function parse(text) {
|
||||
log.debug('Type ' + graphType);
|
||||
switch (graphType) {
|
||||
case 'gitGraph':
|
||||
gitGraphAst.clear();
|
||||
parser = gitGraphParser;
|
||||
parser.parser.yy = gitGraphAst;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user