Repository navigation
Commit 3df4cfa
committed
fix(html): read a script type through the parser's own decoding
`type="text&webpack#47;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 ef41ee8 commit 3df4cfa
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10269 | 10269 | | |
10270 | 10270 | | |
10271 | 10271 | | |
10272 | | - | |
| 10272 | + | |
| 10273 | + | |
| 10274 | + | |
10273 | 10275 | | |
10274 | 10276 | | |
10275 | 10277 | | |
| |||
| 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