diff --git a/frontend/src/components/Step4Report.vue b/frontend/src/components/Step4Report.vue index f383344..22f2bdc 100644 --- a/frontend/src/components/Step4Report.vue +++ b/frontend/src/components/Step4Report.vue @@ -1932,13 +1932,15 @@ const renderMarkdown = (content) => { html = html.replace(/(<\/h[2-5]>)<\/p>/g, '$1') html = html.replace(/
(
紧跟块级元素的情况(多余空行导致)
+ html = html.replace(/
(
\s*)+(
+ html = html.replace(/(<\/ol>|<\/ul>|<\/blockquote>)
(
被段落内容隔开时,保持编号递增 const tokens = html.split(/(
(
紧跟块级元素的情况(多余空行导致)
+ html = html.replace(/
(
\s*)+(
+ html = html.replace(/(<\/ol>|<\/ul>|<\/blockquote>)
(
被段落内容隔开时,保持编号递增 const tokens = html.split(/(