Skip to content

text() is missing a separator space between <button> text nodes #2105

@KennyWongPFPT

Description

@KennyWongPFPT

Hello,

Jsoup.parse("<html><button>Reply</button><button>ReplyToAll</button></html>").text();

When trying to grab text() from this test case, we get "ReplyReplyToAll" (expecting "Reply ReplyToAll"). Notice that a separator space is missing between the two text nodes Reply and ReplyToAll. Would it be possible to get a fix for this?

Thank you.

Metadata

Metadata

Assignees

Labels

improvementAn improvement / new feature idea

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions