Skip to content

merging HEAD into BODY while use white list#1555

Closed
Ruefors wants to merge 1 commit intojhy:masterfrom
Ruefors:#1520
Closed

merging HEAD into BODY while use white list#1555
Ruefors wants to merge 1 commit intojhy:masterfrom
Ruefors:#1520

Conversation

@Ruefors
Copy link
Copy Markdown

@Ruefors Ruefors commented May 22, 2021

replace

Document dirty = parseBodyFragment(bodyHtml, baseUri);

to

Document dirty = parse(bodyHtml, baseUri);

Because that's what causes the head and body to blend together.
Then consider whether the head and body are in the white list respectively.

@jhy
Copy link
Copy Markdown
Owner

jhy commented Mar 12, 2025

Thanks -- planning on implementing with #2284

@jhy jhy closed this Mar 12, 2025
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

Successfully merging this pull request may close these issues.

2 participants