Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing a HTML snippet causes the leading text to be moved to back #23

Closed
BalusC opened this issue May 27, 2010 · 1 comment
Closed

Comments

@BalusC
Copy link

BalusC commented May 27, 2010

Code:

String html = "foo <b>bar</b> baz";
String text = Jsoup.parse(html).text();
System.out.println(text);

Result:

bar baz foo

Expected:

foo bar baz
@jhy
Copy link
Owner

jhy commented Jun 8, 2010

Fix an issue where text order was incorrect when parsing pre-document HTML.

Closed by 821d3b6

michael-simons pushed a commit to michael-simons/jsoup that referenced this issue Jul 12, 2011
zazi pushed a commit to dswarm/jsoup that referenced this issue Oct 15, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants