We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c8dc2 commit 3cbad9dCopy full SHA for 3cbad9d
ForPDA/Sources/Services/Parsing/ParsingService.swift
@@ -317,6 +317,7 @@ final class ParsingService {
317
}
318
319
} else if try! element.iS("h2") || (try! element.iS("h3")) {
320
+ guard try! !element.text().isEmpty else { continue }
321
try! element.select("br").remove()
322
let text = try! element.html()
323
articleElements.append(TextElement(text: text, isHeader: true))
0 commit comments