Hotfix: remove zhihu video space (#1930)
This commit is contained in:
@@ -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('')}`;
|
||||
|
||||
Reference in New Issue
Block a user