File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,7 @@ Search/Replace content:
139
139
<file>
140
140
<path>eg.file.py</path>
141
141
<diff>
142
- <content>
143
- \`\`\`
142
+ <content><![CDATA[
144
143
<<<<<<< SEARCH
145
144
def calculate_total(items):
146
145
total = 0
@@ -152,8 +151,7 @@ def calculate_total(items):
152
151
"""Calculate total with 10% markup"""
153
152
return sum(item * 1.1 for item in items)
154
153
>>>>>>> REPLACE
155
- \`\`\`
156
- </content>
154
+ ]]></content>
157
155
</diff>
158
156
</file>
159
157
</args>
@@ -165,46 +163,40 @@ Search/Replace content with multi edits across multiple files:
165
163
<file>
166
164
<path>eg.file.py</path>
167
165
<diff>
168
- <content>
169
- \`\`\`
166
+ <content><![CDATA[
170
167
<<<<<<< SEARCH
171
168
def calculate_total(items):
172
169
sum = 0
173
170
=======
174
171
def calculate_sum(items):
175
172
sum = 0
176
173
>>>>>>> REPLACE
177
- \`\`\`
178
- </content>
174
+ ]]></content>
179
175
</diff>
180
176
<diff>
181
- <content>
182
- \`\`\`
177
+ <content><![CDATA[
183
178
<<<<<<< SEARCH
184
179
total += item
185
180
return total
186
181
=======
187
182
sum += item
188
183
return sum
189
184
>>>>>>> REPLACE
190
- \`\`\`
191
- </content>
185
+ ]]></content>
192
186
</diff>
193
187
</file>
194
188
<file>
195
189
<path>eg.file2.py</path>
196
190
<diff>
197
- <content>
198
- \`\`\`
191
+ <content><![CDATA[
199
192
<<<<<<< SEARCH
200
193
def greet(name):
201
194
return "Hello " + name
202
195
=======
203
196
def greet(name):
204
197
return f"Hello {name}!"
205
198
>>>>>>> REPLACE
206
- \`\`\`
207
- </content>
199
+ ]]></content>
208
200
</diff>
209
201
</file>
210
202
</args>
You can’t perform that action at this time.
0 commit comments