Merge pull request #1822 from ileler/develop
Fix for when the br tag is used
This commit is contained in:
commit
3e042f63e6
|
@ -430,6 +430,9 @@ const render = function(id, _txt, cb, container) {
|
|||
|
||||
svgCode = decodeEntities(svgCode);
|
||||
|
||||
// Fix for when the br tag is used
|
||||
svgCode = svgCode.replace(/<br>/g, '<br/>');
|
||||
|
||||
if (typeof cb !== 'undefined') {
|
||||
switch (graphType) {
|
||||
case 'flowchart':
|
||||
|
|
Loading…
Reference in New Issue