.modal-content { white-space: pre-line; }
var str = "这里是垂直\t制表"; str.replace(/\t/g, '|');
这里是垂直�制表
上一篇:不同浏览器中maxLength输入的默认值
下一篇:不同浏览器中平滑滚动的持续时间