cccccccccccc

This commit is contained in:
aote777 2021-11-23 20:59:11 +08:00
parent 8c6a7e4f94
commit a5ab5ce4e1
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,9 @@ function consoleLog(str) {
// 清除br标签
// anki自动生成的全部干掉 严格按照原生来写
var clearBR = (str) => {
return str.replace(/<br>/g, '\r\n')
str=str.replace(/<br>/g, '\r\n')
str=str.replace(/nbsp;/g, ' ')
return str
}
// 解析(入口方法)