You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just had a bug report in my app that uses Kanna where text is missing from a page that's been parsed. It appears that a long line of text ending in <br><br> is missing from the innerHTML string.
if let doc = Kanna.HTML(html: data!, encoding: NSUTF8StringEncoding){
for articleParagraphs in node.css("p") {
if articleParagraphs.className == "small" {
print("StarDate: " + articleParagraphs.text!)
} else {
print("Article: " + articleParagraphs.innerHTML!)
}
}
Last month, the eminent scientist Ishmael Palin...
Actual result:
Since then, certain sections of the galactic...
articleParagraphs.text shows that the all of the expected text is present and it appears to be an issue with the string returned by articleParagraphs.innerHTML
The text was updated successfully, but these errors were encountered:
Just had a bug report in my app that uses Kanna where text is missing from a page that's been parsed. It appears that a long line of text ending in <br><br> is missing from the innerHTML string.
Example can be found here
Expected result:
Actual result:
articleParagraphs.text
shows that the all of the expected text is present and it appears to be an issue with the string returned byarticleParagraphs.innerHTML
The text was updated successfully, but these errors were encountered: