mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
#847 Removing </> in text
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
import * as d3 from 'd3'
|
||||
import scope from 'scope-css'
|
||||
import pkg from '../package.json'
|
||||
|
||||
import { setConfig } from './config'
|
||||
import { logger, setLogLevel } from './logger'
|
||||
import utils from './utils'
|
||||
import flowRenderer from './diagrams/flowchart/flowRenderer'
|
||||
@@ -77,6 +77,11 @@ const config = {
|
||||
*/
|
||||
logLevel: 5,
|
||||
|
||||
/**
|
||||
* **strictSecurity** A boolean flag setting the level of trust to be used on the parsed diagrams. When set to true the click functionality is disabled.
|
||||
*/
|
||||
strictSecurity: false,
|
||||
|
||||
/**
|
||||
* **startOnLoad** - This options controls whether or mermaid starts when the page loads
|
||||
*/
|
||||
@@ -240,6 +245,7 @@ const config = {
|
||||
}
|
||||
|
||||
setLogLevel(config.logLevel)
|
||||
setConfig(config)
|
||||
|
||||
function parse (text) {
|
||||
const graphType = utils.detectType(text)
|
||||
|
Reference in New Issue
Block a user