Skip to content

Commit 65ad17a

Browse files
committed
Fix: add one more line break after quote reply to separate user input
1 parent 18a673b commit 65ad17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-issue-edit.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async function tryOnQuoteReply(e: Event) {
132132
const targetMarkupToQuote = targetRawToQuote.parentElement.querySelector<HTMLElement>('.render-content.markup');
133133
let contentToQuote = extractSelectedMarkdown(targetMarkupToQuote);
134134
if (!contentToQuote) contentToQuote = targetRawToQuote.textContent;
135-
const quotedContent = `${contentToQuote.replace(/^/mg, '> ')}\n`;
135+
const quotedContent = `${contentToQuote.replace(/^/mg, '> ')}\n\n`;
136136

137137
let editor;
138138
if (clickTarget.classList.contains('quote-reply-diff')) {

0 commit comments

Comments
 (0)