Closed sanity closed 2 years ago
Can you take a look at this file and tell me if you see a reason this is happening? Could this be a bug in Kweb? Or, have I done something wrong? I don't see why my code would do this.
I don't see anything wrong with that code, it must be a bug in Kweb.
Element.kt#L413 is where it's supposed to update the jsoupDoc with the text if it's doing the initial rendering for the page.
Ok, I think I see the problem, the jsoupDoc != null
part of this when
clause should come before the browser.isCatchingOutbound()
part.
Would you mind making the change and deploying a new kweb version?
I can do that shortly.
Hold off, that's not the fix - I'm working on it now.
ok
Fixed with kweb 0.12.1.
When I visit http://staging.freenet.org/ I momentarily just see the bullet points before the page renders properly.
Looking at the page source, it looks like the text of the HTML isn't being populated in the initial render: