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 31662e6 commit 5fff7ebCopy full SHA for 5fff7eb
1 file changed
packages/vscode/src/utils/replace-selection-placeholder/replace-selection-placeholder.ts
@@ -18,7 +18,7 @@ export const replace_selection_placeholder = (instruction: string): string => {
18
const document = active_editor.document
19
const current_file_path = vscode.workspace.asRelativePath(document.uri)
20
21
- const replacement_text = `\n\`\`\` path=${current_file_path}\n${selected_text}\n\`\`\`\n`
+ const replacement_text = `\n<fragment path="${current_file_path}">\n<![CDATA[\n${selected_text}\n]]>\n</fragment>\n`
22
23
return instruction.replace(/\s*@Selection\s*/g, replacement_text)
24
}
0 commit comments