html标签title属性值包括处理

用js赋给title属性的html实体,<br/>无法解析,导致&nbsp;也无法解析,应该使用 代替,使用&#10;无法实现换行,因为没有经过浏览器的再解析。

str_info.replace(/<br/>/g, '
');


原文地址:https://www.cnblogs.com/archermeng/p/7537106.html