Repository navigation
Commit e167201
authored
build(html): correct what the sweep expects around template syntax (#22192)
* build(html): correct what the sweep expects around template syntax
The three `{%` entries all claimed the tag was echoed from source whole.
That stopped being true when the print began rebuilding such a tag's
attributes, so the reference entry matched nothing and was reported stale.
What the remaining two report is the respelling writing `=""` onto a bare
name: a tag carrying template syntax keeps the empty value the print drops
elsewhere. State that, and drop the entry nothing matches.
* test(html): pin the empty value a template-bearing tag keeps
* test(html): drive the kept empty value through a real build too1 parent c01042d commit e167201
5 files changed
Lines changed: 17 additions & 7 deletions
File tree
- test
- configCases/html/minimize-attributes
- __snapshots__
- unitCases
- tooling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5720 | 5720 | | |
5721 | 5721 | | |
5722 | 5722 | | |
| 5723 | + | |
| 5724 | + | |
| 5725 | + | |
| 5726 | + | |
| 5727 | + | |
| 5728 | + | |
| 5729 | + | |
| 5730 | + | |
| 5731 | + | |
| 5732 | + | |
| 5733 | + | |
| 5734 | + | |
5723 | 5735 | | |
5724 | 5736 | | |
5725 | 5737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
1387 | | - | |
| 1387 | + | |
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
| 1392 | + | |
1398 | 1393 | | |
1399 | 1394 | | |
1400 | 1395 | | |
| |||
0 commit comments