mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-06 14:01:30 +08:00
feat(selection-assistant): update Quote behavior to use XML <quote> tags (#13001)
This commit is contained in:
@@ -145,10 +145,5 @@ export function addImageFileToContents(messages: Message[]) {
|
||||
}
|
||||
|
||||
export function formatQuotedText(text: string) {
|
||||
return (
|
||||
text
|
||||
.split('\n')
|
||||
.map((line) => `> ${line}`)
|
||||
.join('\n') + '\n-------------'
|
||||
)
|
||||
return '<blockquote>\n\n' + text + '\n</blockquote>\n'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user