This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化markd引用块的解析

old
宇天 2021-05-18 11:00:40 +08:00
parent e179bf017a
commit 222f4d56eb
1 changed files with 5 additions and 1 deletions

View File

@ -363,6 +363,7 @@ class Tool {
if (head) { if (head) {
isParagraph = false isParagraph = false
html += head html += head
// console.log(html)
continue continue
} }
@ -425,7 +426,10 @@ class Tool {
qlist += `<li>${tmp3}</li>` qlist += `<li>${tmp3}</li>`
html += tmp1 + qlist html += tmp1 + qlist
} else { } else {
html += '<br>' + it if (innerQuote === false) {
html += '<br>'
}
html += it
} }
isParagraph = false isParagraph = false