-
Notifications
You must be signed in to change notification settings - Fork 884
Commit 8207214
Ensure incomplete markup declaration in raw HTML doesn't crash parser.
See Python bug report at gh-77057 for details. Until we drop support for
Python < 3.13 (where this was fixed upstream), we need to avoid the
unwanted error by checking for it explicitly. Fixes #1534.1 parent 64a3c0f commit 8207214
File tree
4 files changed
+16
-0
lines changed- docs
- markdown
- extensions
- tests/test_syntax/blocks
4 files changed
+16
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | + | ||
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
283 | + | ||
284 | + | ||
285 | + | ||
286 | + | ||
283 | 287 |
| |
284 | 288 |
| |
285 | 289 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 | + | ||
279 | + | ||
280 | + | ||
281 | + | ||
278 | 282 |
| |
279 | 283 |
| |
280 | 284 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1275 | 1275 |
| |
1276 | 1276 |
| |
1277 | 1277 |
| |
1278 | + | ||
1279 | + | ||
1280 | + | ||
1281 | + | ||
1282 | + | ||
1283 | + | ||
1284 | + | ||
1278 | 1285 |
| |
1279 | 1286 |
| |
1280 | 1287 |
| |
|
0 commit comments