mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 19:54:17 +01:00
Release 8.3.1. Reseting the flow parser between parsings
This commit is contained in:
@@ -316,6 +316,7 @@ function parse(text) {
|
||||
parser.parser.yy = gitGraphAst;
|
||||
break;
|
||||
case 'flowchart':
|
||||
flowDb.clear();
|
||||
parser = flowParser;
|
||||
parser.parser.yy = flowDb;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user