📜  用段落开始和结束标记替换节点内的所有 br 标记 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:25.603000             🧑  作者: Mango

代码示例1
//My suggestion will be to split the text by 
: var lines = content.split("
"); //Now you can wrap each line in a
: var newContent = ""; for(var i=0,l=lines.length;i"; }