html标签title属性值包括处理 用js赋给title属性的html实体,<br/>无法解析,导致 也无法解析,应该使用 代替,使用 无法实现换行,因为没有经过浏览器的再解析。 str_info.replace(/<br/>/g, ' ');