From bd210c9788c7344394b44216fd8a6bcff619b4aa Mon Sep 17 00:00:00 2001 From: tgly307 Date: Tue, 18 Sep 2018 01:13:01 +0800 Subject: [PATCH] fix tugua (#736) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 把图卦正文的换行找回来 --- routes/dapenti/tugua.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/dapenti/tugua.js b/routes/dapenti/tugua.js index 99f43e21a..264a5be01 100644 --- a/routes/dapenti/tugua.js +++ b/routes/dapenti/tugua.js @@ -39,7 +39,7 @@ module.exports = async (ctx) => { .load(convert_data, { decodeEntities: false, })('div[class="oblog_text"]') - .text(); + .html(); const single = { title: el.text(), description: detail_data,