Repository navigation
Commit d57c21c
committed
fix(css,html): keep a renderer's non-text answer from breaking serialization
A renderer returning `undefined` reached `escapeAttribute` on the srcdoc path
and threw on `.includes` — the one offer written back escaped rather than
spliced verbatim. Both serializers now read anything but text as a renderer
that did not answer, and keep the body as written.1 parent 88c7714 commit d57c21c
4 files changed
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12020 | 12020 | | |
12021 | 12021 | | |
12022 | 12022 | | |
12023 | | - | |
| 12023 | + | |
| 12024 | + | |
| 12025 | + | |
12024 | 12026 | | |
12025 | 12027 | | |
12026 | 12028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9202 | 9202 | | |
9203 | 9203 | | |
9204 | 9204 | | |
9205 | | - | |
9206 | | - | |
9207 | | - | |
9208 | | - | |
| 9205 | + | |
| 9206 | + | |
| 9207 | + | |
| 9208 | + | |
| 9209 | + | |
9209 | 9210 | | |
9210 | 9211 | | |
9211 | 9212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6534 | 6534 | | |
6535 | 6535 | | |
6536 | 6536 | | |
| 6537 | + | |
| 6538 | + | |
| 6539 | + | |
| 6540 | + | |
| 6541 | + | |
| 6542 | + | |
| 6543 | + | |
| 6544 | + | |
| 6545 | + | |
6537 | 6546 | | |
6538 | 6547 | | |
6539 | 6548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5137 | 5137 | | |
5138 | 5138 | | |
5139 | 5139 | | |
| 5140 | + | |
| 5141 | + | |
| 5142 | + | |
| 5143 | + | |
| 5144 | + | |
| 5145 | + | |
| 5146 | + | |
| 5147 | + | |
| 5148 | + | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
5140 | 5152 | | |
5141 | 5153 | | |
5142 | 5154 | | |
| |||
0 commit comments