fix e2e error

This commit is contained in:
ileler
2020-12-12 09:52:39 +08:00
parent a855f4bc67
commit 8aa030539b

View File

@@ -431,7 +431,7 @@ const render = function(id, _txt, cb, container) {
svgCode = decodeEntities(svgCode);
// Fix for when the br tag is used
svgCode = svgCode.replaceAll('<br>', '<br/>');
svgCode = svgCode.replace(/<br>/g, '<br/>');
if (typeof cb !== 'undefined') {
switch (graphType) {