Commit b317bb8
committed
Handle </p> and </br> in foreign contexts
The HTML spec changed to handle `</p>` and `</br>` in foreign context
the same way `<p>` and `<br>` are.
The fragment case is handled identically to the nonfragment case now.1 parent af4e4b2 commit b317bb8
2 files changed
Lines changed: 31 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4418 | 4418 | | |
4419 | 4419 | | |
4420 | 4420 | | |
| 4421 | + | |
4421 | 4422 | | |
4422 | 4423 | | |
4423 | 4424 | | |
| |||
4427 | 4428 | | |
4428 | 4429 | | |
4429 | 4430 | | |
4430 | | - | |
4431 | | - | |
4432 | | - | |
4433 | | - | |
4434 | | - | |
4435 | | - | |
4436 | | - | |
4437 | | - | |
4438 | | - | |
4439 | | - | |
4440 | | - | |
4441 | | - | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
| 4437 | + | |
| 4438 | + | |
4442 | 4439 | | |
4443 | | - | |
| 4440 | + | |
| 4441 | + | |
4444 | 4442 | | |
4445 | 4443 | | |
4446 | 4444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2220 | 2220 | | |
2221 | 2221 | | |
2222 | 2222 | | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
2223 | 2243 | | |
0 commit comments