let html2 = "<html><head></head><body>SOME TEXT</body></html>"
let doc2 = try? HTMLDocument(string: html2)!
theBody2 = doc2.body
print("isHTML", theBody2.isHTML)
this prints "FALSE"
then rawXML calls xmlNodeDump instead of htmlNodeDump which in my case is bad.
Environment
Package Manager:
Fuzi version: Latest
Xcode version: 10.2
How to reproduce: