mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
perf(readability): move transformMisusedDivsIntoParagraphs
call after removeUnlikelyCandidates
This commit is contained in:
parent
4679691c94
commit
86e2ce6d0b
1 changed files with 1 additions and 1 deletions
|
@ -86,8 +86,8 @@ func ExtractContent(page io.Reader) (baseURL string, extractedContent string, er
|
|||
|
||||
document.Find("script,style").Remove()
|
||||
|
||||
transformMisusedDivsIntoParagraphs(document)
|
||||
removeUnlikelyCandidates(document)
|
||||
transformMisusedDivsIntoParagraphs(document)
|
||||
|
||||
candidates := getCandidates(document)
|
||||
topCandidate := getTopCandidate(document, candidates)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue