mirror of
https://github.com/mermaid-js/mermaid-live-editor.git
synced 2026-11-04 08:59:08 +00:00
removed unwanted console
This commit is contained in:
1 parent
8b3962c5e5
commit
0fa868821b
1 file changed
+1
-3
@@ -134,9 +134,7 @@
|
||||
.replace('<style>', `<style>${fontFaceCSS} ${fontAwesomeCSS}`);
|
||||
|
||||
return toBase64(svgString);
|
||||
} catch (error) {
|
||||
console.error('Error generating SVG base64:', error);
|
||||
|
||||
} catch {
|
||||
// Fallback to simple SVG if font loading fails
|
||||
const svgString = svg.outerHTML
|
||||
.replaceAll('<br>', '<br/>')
|
||||
|
||||
Reference in new issue
Block a user