fix: ITSlide图片和原文链接显示bug (#3486)

This commit is contained in:
yangshuqing
2019-11-27 00:45:19 +08:00
committed by DIYgod
parent d8433b92be
commit e22073fadf
+3 -1
View File
@@ -23,6 +23,7 @@ module.exports = async (ctx) => {
.attr('title');
const link =
baseUrl +
'/' +
$(item)
.find('a')
.attr('href')
@@ -43,7 +44,8 @@ module.exports = async (ctx) => {
description: `描述: ${title}<br>
时间:${upTime}<br>
浏览:${views}<br>
预览:<img src = ${imgSrc}'>`,
预览:<img src = "${imgSrc}"><br>
全文:${link}`,
pubDate: $(item)
.find('.mod-post-tip .pr')
.text(),