Skip to content

gh-86155: Fix htmlparser "unclosed script tag causes data loss"#22658

Merged
serhiy-storchaka merged 8 commits intopython:mainfrom
waylan:htmlparser
May 10, 2025
Merged

gh-86155: Fix htmlparser "unclosed script tag causes data loss"#22658
serhiy-storchaka merged 8 commits intopython:mainfrom
waylan:htmlparser

Conversation

@waylan
Copy link
Copy Markdown
Contributor

@waylan waylan commented Oct 12, 2020

When calling .close() the htmlparser should flush all remaining content,
even when that content is in an unclosed script or style tag.

https://bugs.python.org/issue41989

When calling .close() the htmlparser should flush all remaining content,
even when that content is in an unclosed script or style tag.
@waylan waylan requested a review from ezio-melotti as a code owner October 12, 2020 01:12
@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@waylan

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@waylan waylan changed the title bpo:41989 Fix htmlparser "unclosed script tag causes data loss" bpo-41989 Fix htmlparser "unclosed script tag causes data loss" Oct 12, 2020
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the