关于a标签title中有空格,空格后不显示问题

str.replace(/ /g,' ')

将字符串中的所有空格替换成ascii的对应的空格符号

猜你喜欢

转载自blog.csdn.net/u010529525/article/details/47609533