Commit 5627f248 by xiexiaoqin

fix: 去掉笔记的空格

parent 422f97c3
......@@ -329,5 +329,5 @@ export function isJSON(str) {
}
export function removeHtml(str) {
return str.replace(/<\/li>/g, "\n").replace(/<.+?>/g, "")
return str.replace(/<\/li>/g, "\n").replace(/<.+?>/g, "").replace(/&nbsp;/g, '')
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment