html页面单引号,双引号。
如果有双引号,里面的东西就只能单引号,
要不然添加 符号 \ 在双引号开始前面添加
原来的
<div class="info"><h3 class="title" style="padding-bottom: 0px" id="title"></h3><div class="desc"><p id="content"> </p></div><div class="thumbnail"><img class="w-100" src="../assets/images/portfolio/img_01.png" alt="Blog Image"></div><div class="thumbnail"><img class="w-100" src="../assets/images/portfolio/img_02.jpg" alt="Blog Image"></div></div>
改后的
"<div class=\"info\">"+"<h3 class=\"title\" style=\"padding-bottom: 0px\" id=\"title\"></h3>"+"<div class=\"desc\">"+"<p id=\"content\"> </p>"+"</div>"+"<div class=\"thumbnail\">"+"<img class=\"w-100\" src=\"../assets/images/portfolio/img_01.png\" alt=\"Blog Image\">"+"</div>"+"<div class=\"thumbnail\">"+"<img class=\"w-100\" src=\"../assets/images/portfolio/img_02.jpg\" alt=\"Blog Image\">"+"</div>"+"</div>"