var odiv = document.getElementsByTagName("*");
for(var i = 0; i<odiv.length; i++){
if(odiv[i].className == 'newDetail'){
let obj = odiv[i].childNodes[3];
let oldHtml = odiv[i].childNodes[3].innerText;//获取html中不带标签内容
//console.log(odiv[i].childNodes[3].innerText,'----具体内容');
let oldHtml1 = trim(oldHtml);//去掉空格
odiv[i].childNodes[3].innerHTML =excludeSpecial(oldHtml1);//去掉转义字符
obj.style.width = 'auto'
//obj.style.cssText="width:600px;height:500px;border:1px solid red;"
}
}
//对class下的removeKg 下的所有  转换成 ''
$(".removeKg").each(function() {
var $this = $(this);
$this.html($this.html().replace(/ /g,''));
});