Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-118350: Add escapable-raw-text mode to html parser#121770
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
420af541241a65e7f11a0bd63490da868dbd17b409d8cc255a36070a43804bb70b8e5dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -319,17 +319,15 @@ def get_events(self): | ||
| def test_escapable_raw_text_content(self): | ||
| ||
| contents = [ | ||
| 'foo = "</TITLE" + ">";', | ||
| 'foo = <\n/title> ', | ||
| '<!-- document.write("</scr" + "ipt>"); -->', | ||
| '\n//<![CDATA[\n' | ||
| '\n<!-- //\nvar foo = 3.14;\n// -->\n', | ||
| # valid character reference | ||
| 'A', | ||
| # ambiguous ampersand example | ||
| '¬aref', | ||
| 'foo = "</sty" + "le>";', | ||
| '<!-- \u2603 -->', | ||
| # these two should be invalid according to the HTML 5 spec, | ||