-
-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Labels
Description
Description:
I am seeing some strange behavior that I have not seen before.
If I create a Kanna instance and then access the .toHTML property of that instance, it does not return the full HTML of the instance. The weird thing is that it is different depending on the deployment target. When building for iOS 14 the .toHTML property returns almost all the raw data, but if I am building for iOS 13.5 it returns only a small portion.
I noticed the issue when starting to use Xcode 12 and its toolchain.
Installation method:
- [ X] CocoaPods
Kanna version:
5.2.2
swift --version:
5.3
Xcode version:
Version 12.0 (12A7209)
How to reproduce:
Create a Kanna instance with some HTML:
let document = try! Kanna.HTML(html: htmlText, encoding: String.Encoding.utf8)
print(document.toHTML)
When looking at the console log you can see that the HTML is not complete.
Anyone else seeing this?
Regards,
Erik
tid-kijyun