SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
4.52k
stars
345
forks
source link
Parsing html with iframe inserts stray escaped elements into Document #253
Closed
Aloisius closed 9 months ago
SwiftSoup appears to insert escaped nodes when parsing html that contains an iframe.
For example:
Will output:
I'd expect it to output: