From 150b94ea0e7ee41bdf4da99d8053da7aa2404cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=89=E5=87=89?= Date: Tue, 11 Dec 2018 14:47:01 +0800 Subject: [PATCH] Hotfix: jianshu style (#1266) --- routes/jianshu/utils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/jianshu/utils.js b/routes/jianshu/utils.js index 76e6a5158..577d3143e 100644 --- a/routes/jianshu/utils.js +++ b/routes/jianshu/utils.js @@ -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();