Skip to content

Commit aee3e57

Browse files
committed
Fix formatting
1 parent f5247ad commit aee3e57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/backend/src/html/htmlMain.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -439,16 +439,16 @@ const htmlWrapSVG = (
439439
settings: HTMLSettings,
440440
): string => {
441441
if (node.svg === "") return "";
442-
442+
443443
const builder = new HtmlDefaultBuilder(node, settings)
444444
.addData("svg-wrapper")
445445
.position();
446-
446+
447447
// The SVG content already has the var() references, so we don't need
448448
// to add inline CSS variables in most cases. The browser will use the fallbacks
449449
// if the variables aren't defined in the CSS.
450-
451-
return `\n<div${builder.build()}>\n${node.svg ?? ""}</div>`;
450+
451+
return `\n<div${builder.build()}>\n${indentString(node.svg ?? "")}</div>`;
452452
};
453453

454454
const htmlGroup = async (

0 commit comments

Comments
 (0)