-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
fixedAn {bug|improvement} that has been {fixed|implemented}An {bug|improvement} that has been {fixed|implemented}
Milestone
Description
I've uploaded an example.txt file that contains the html example. Unfortunately I couldn't get the example to be any smaller, so I apologise for the largeish html example.
When rendering the original html file in a HTML renderer you get:
TEXT 1
DKLASJD: DASDSA ABT 31321 MT / LSMGO ABT dsada MT
TEXT 2
TEXT 3
Once you parse the HTML with Jsoup.parse(html) and render the new html with a renderer once again you get:
TEXT 1
TEXT 3
DKLASJD: DASDSA ABT 31321 MT / LSMGO ABT dsada MT
TEXT 2
Notice how the text has been re-ordered. One thing that may help in investigation is that when you remove all of the inline style attributes, this issue no longer occurs and the text is in the correct order after parsing with Jsoup.parse().
Is this expected behaviour?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fixedAn {bug|improvement} that has been {fixed|implemented}An {bug|improvement} that has been {fixed|implemented}