mirror of
https://github.com/miniflux/v2.git
synced 2025-08-06 17:41:00 +00:00
test(readability): add test case for ExtractContent
with broken reader
This commit is contained in:
parent
8a98926674
commit
8c3f280f32
2 changed files with 15 additions and 2 deletions
|
@ -400,8 +400,8 @@ func transformMisusedDivsIntoParagraphs(document *goquery.Document) {
|
|||
"table", "ul":
|
||||
return
|
||||
default:
|
||||
node := s.Get(0)
|
||||
node.Data = "p"
|
||||
currentNode := s.Get(0)
|
||||
currentNode.Data = "p"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue