& lt; Div style="width: 630 px; overflow:hidden; white-space:nowrap; The text - overflow: ellipsis; ">

Below is an ajax request return data, additional
$. Each (data, function (k, v) {
HTML +='& lt; Div style="width: 630 px; overflow:hidden; white-space:nowrap; The text - overflow: ellipsis; "> '+ v.c ontent +' & lt;/div> '
})
$(' # list '). Append (HTML);
Results to hide all the content of the show out

How to solve this problem, please?
CodePudding user response:
Whether the v.c ontent contains & lt; Br/& gt; Or other tagsCodePudding user response:
The