Skip to content

Conversation

@krichprollsch
Copy link
Member

@krichprollsch krichprollsch commented Aug 20, 2025

For text content type (and application/json) we create a pseudo HTML tree with the text value in a <pre> tag.

It allows CDP clients to interact with text content easily.

Relates with #824

For text content type (and application/json) we create a pseudo HTML
tree with the text value in a <pre> tag.

It allows CDP clients to interact with text content easily.
@krichprollsch krichprollsch self-assigned this Aug 20, 2025
},
.raw_done => |data| return out.writeAll(data),
.text => {
// processed below, along with .html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit is good, but don't think this comment is true.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thanks

@krichprollsch krichprollsch merged commit a6f3763 into main Aug 21, 2025
10 checks passed
@krichprollsch krichprollsch deleted the html-pre branch August 21, 2025 07:38
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants