Hotfix: remove zhihu video space (#1930)

This commit is contained in:
凉凉
2019-04-13 17:07:30 +08:00
committed by DIYgod
parent 399f05a5b2
commit 8dcf273e30
+4 -4
View File
@@ -53,10 +53,10 @@ module.exports = async (ctx) => {
link = `<p><a href="${contentItem.url}" target="_blank">${contentItem.title}</a></p>`;
} else if (contentItem.type === 'video') {
link = `<p><video
controls = "controls"
width = "${contentItem.playlist[1].width}"
height = "${contentItem.playlist[1].height}"
src = "${contentItem.playlist[1].url}"></p>`;
controls="controls"
width="${contentItem.playlist[1].width}"
height="${contentItem.playlist[1].height}"
src="${contentItem.playlist[1].url}"></video></p>`;
}
});
description = `${text}${link}${images.join('')}`;