fix: preserve newlines in chat message markdown rendering (#714)

This commit is contained in:
rqbbss
2026-05-14 15:38:26 +08:00
committed by GitHub
parent bd6c4dc82e
commit e6f403b787
@@ -28,6 +28,7 @@ const message = useMessage()
const md: MarkdownIt = new MarkdownItConstructor({
html: false,
breaks: true,
linkify: true,
typographer: true,
highlight(str: string, lang: string): string {