Elffuss BraidHub

kikocis/continue public

Merge pull request #7449 from xiaohuanxiong3/fix-edit-file-tool-render-abnormal

fix: fix edit file tool render abnormal
Changesetb2162ee949faf1002a53a3f52fb1c060664112b9a99382d26c7125db4292c9da
AuthorDallin Romney <dallinromney@gmail.com> · 2025-08-28 13:46 -07:00
CommitterGitHub <noreply@github.com> · 2025-08-28 13:46 -07:00
Parentsdb4f68135e06, ce4f9b1818f9

Browse the files at this changeset

1 file changed

modified gui/src/pages/gui/ToolCallDiv/EditFile.tsx +1 −1
@@ -17,7 +17,7 @@
1717 return null;
1818 }
1919
20- const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath)} ${props.relativeFilePath}${props.changes ? "\n" + props.changes + "\n" : ""}\`\`\``;
20+ const src = `\`\`\`${getMarkdownLanguageTagForFile(props.relativeFilePath)} ${props.relativeFilePath}${props.changes ? "\n" + props.changes + "\n" : "\n"}\`\`\``;
2121
2222 return (
2323 <StyledMarkdownPreview