mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
fix e2e error
This commit is contained in:
@@ -431,7 +431,7 @@ const render = function(id, _txt, cb, container) {
|
|||||||
svgCode = decodeEntities(svgCode);
|
svgCode = decodeEntities(svgCode);
|
||||||
|
|
||||||
// Fix for when the br tag is used
|
// Fix for when the br tag is used
|
||||||
svgCode = svgCode.replaceAll('<br>', '<br/>');
|
svgCode = svgCode.replace(/<br>/g, '<br/>');
|
||||||
|
|
||||||
if (typeof cb !== 'undefined') {
|
if (typeof cb !== 'undefined') {
|
||||||
switch (graphType) {
|
switch (graphType) {
|
||||||
|
Reference in New Issue
Block a user