Small fixes to content generation prompt (#16359)

jvmncs created

Fixed the output format section of the content_prompt.hbs template
getting rendered away by handlebars. Also fixed a leftover hardcoded
"Rust" in the rewrite section snippet. (follow-up to #16333)

Release Notes:

- N/A

Change summary

assets/prompts/content_prompt.hbs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

assets/prompts/content_prompt.hbs 🔗

@@ -386,7 +386,7 @@ Edit text that you see surrounded with <edit_here>...</edit_here> tags. It's CRI
 {{/if}}
 Make no changes to the rewritten content outside these tags.
 
-<snippet language="Rust" annotated="true">
+<snippet language="{{ language_name }}" annotated="true">
 {{{ rewrite_section_prefix }}}
 <rewrite_this>
 {{{ rewrite_section_with_edits }}}
@@ -422,5 +422,5 @@ Do not include <insert_here> or <edit_here> annotations in your output. Here is
 Immediately start with the following format with no remarks:
 
 ```
-{{REWRITTEN_CODE}}
+\{{REWRITTEN_CODE}}
 ```