Skip to content

Commit

Permalink
Adds missing newline before closing code block (jupyterlab#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill authored May 9, 2023
1 parent fba718b commit 0d947f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-ai/src/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function ChatBody({ chatHandler, setChatView: chatViewHandler }: ChatBodyProps):
const prompt =
input +
(includeSelection && selection?.text
? '\n\n```\n' + selection.text + '```'
? '\n\n```\n' + selection.text + '\n```'
: '');

// send message to backend
Expand Down

0 comments on commit 0d947f1

Please sign in to comment.