mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 20:24:16 +01:00
Release 8.3.1. Reseting the flow parser between parsings
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mermaid",
|
"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.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"main": "dist/mermaid.core.js",
|
"main": "dist/mermaid.core.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -316,6 +316,7 @@ function parse(text) {
|
|||||||
parser.parser.yy = gitGraphAst;
|
parser.parser.yy = gitGraphAst;
|
||||||
break;
|
break;
|
||||||
case 'flowchart':
|
case 'flowchart':
|
||||||
|
flowDb.clear();
|
||||||
parser = flowParser;
|
parser = flowParser;
|
||||||
parser.parser.yy = flowDb;
|
parser.parser.yy = flowDb;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user