element.title.replaceAll('\n','<br/>')

参考链接:https://www.jianshu.com/p/457943f03397