​为什么小程序富文本解析不了&nbsp; 、<strong>?

发布于 8 年前作者 gang916918 次浏览最后编辑 8 年前来自 issues

为什么小程序富文本解析不了&nbsp; 、<strong>?

2 回复
chaoduan
chaoduan2 楼6 年前

不能解析就替换吧

str = str.replace(/&nbsp;/g," ");