We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5247ad commit aee3e57Copy full SHA for aee3e57
packages/backend/src/html/htmlMain.ts
@@ -439,16 +439,16 @@ const htmlWrapSVG = (
439
settings: HTMLSettings,
440
): string => {
441
if (node.svg === "") return "";
442
-
+
443
const builder = new HtmlDefaultBuilder(node, settings)
444
.addData("svg-wrapper")
445
.position();
446
447
// The SVG content already has the var() references, so we don't need
448
// to add inline CSS variables in most cases. The browser will use the fallbacks
449
// if the variables aren't defined in the CSS.
450
451
- return `\n<div${builder.build()}>\n${node.svg ?? ""}</div>`;
+ return `\n<div${builder.build()}>\n${indentString(node.svg ?? "")}</div>`;
452
};
453
454
const htmlGroup = async (
0 commit comments