Repository navigation
Commit 9359b28
committed
fix(html): read a script type through the parser's own decoding
`type="text/javascript"` is a JavaScript type — Chrome runs it — but
matching the raw attribute text read it as a data block, so the body was
trimmed rather than offered to a JS renderer, and an entity-spelled
`application/ld+json` was never minified as JSON.1 parent c202e00 commit 9359b28
3 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10430 | 10430 | | |
10431 | 10431 | | |
10432 | 10432 | | |
10433 | | - | |
| 10433 | + | |
| 10434 | + | |
| 10435 | + | |
10434 | 10436 | | |
10435 | 10437 | | |
10436 | 10438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4189 | 4189 | | |
4190 | 4190 | | |
4191 | 4191 | | |
| 4192 | + | |
| 4193 | + | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
4192 | 4208 | | |
4193 | 4209 | | |
4194 | 4210 | | |
| |||
0 commit comments