Hotfix: jianshu style (#1266)

This commit is contained in:
凉凉 2018-12-11 14:47:01 +08:00 committed by DIYgod
parent 8466a85d3e
commit 150b94ea0e
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ async function load(link) {
}
$elem.attr('referrerpolicy', 'no-referrer');
});
// 去除样式
$('.image-container, .image-container-fill').removeAttr('style');
// 提取内容
const description = $('.show-content-free').html();