fix: Marked 不解析 \n, 手動解析以使換行符正常使用
This commit is contained in:
@@ -272,7 +272,7 @@ export default function ChatFragment({ target, showReturnButton, onReturnButtonC
|
||||
'alt',
|
||||
'href',
|
||||
],
|
||||
})
|
||||
}).replaceAll('\n', '<br>')
|
||||
const lastDate = date
|
||||
date = new Date(msg.time)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user