Release 8.3.1. Reseting the flow parser between parsings

This commit is contained in:
knsv 2019-09-19 15:00:21 -07:00
parent b1d137770c
commit be2e467583
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "8.3.0",
"version": "8.3.1",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"main": "dist/mermaid.core.js",
"keywords": [

View File

@ -316,6 +316,7 @@ function parse(text) {
parser.parser.yy = gitGraphAst;
break;
case 'flowchart':
flowDb.clear();
parser = flowParser;
parser.parser.yy = flowDb;
break;