fix: convert code block

zio/stable
三咲智子 2022-11-26 03:16:47 +08:00
parent 373697619f
commit d9d2a946a4
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ function treeToText(input: Node): string {
pre = '\n'
if (input.nodeName === 'code') {
pre = '`'
post = '`'
pre = '````\n'
post = '\n```'
}
if ('childNodes' in input)