fix: 虎嗅文章内标题显示效果 (#3542)

This commit is contained in:
Henry Wang 2019-12-07 18:39:25 +00:00 committed by DIYgod
parent 41daa4c2bc
commit e7f3e25e32
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ const ProcessFeed = async (list, cache) => {
$(e).attr('src', $(e).attr('_src'));
});
$('.article__content')
.find('.text-big-title')
.each((i, e) => (e.tagName = 'h3'));
return {
title: $('.article__title')
.text()