mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 11:59:39 +02:00
Test fix + empty relation
This commit is contained in:
@@ -54,11 +54,7 @@
|
||||
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
|
||||
logLevel: 0,
|
||||
state: {
|
||||
<<<<<<< HEAD
|
||||
defaultRenderer: 'dagre-d3',
|
||||
=======
|
||||
defaultRenderer: 'dagre-wrapper',
|
||||
>>>>>>> master
|
||||
},
|
||||
flowchart: {
|
||||
// defaultRenderer: 'dagre-wrapper',
|
||||
|
@@ -65,6 +65,7 @@ const sanitizeMore = (text, config) => {
|
||||
};
|
||||
|
||||
export const sanitizeText = (text, config) => {
|
||||
if(!text) return text;
|
||||
const txt = DOMPurify.sanitize(sanitizeMore(text, config));
|
||||
return txt;
|
||||
};
|
||||
|
Reference in New Issue
Block a user