Repository navigation
Commit 1d75746
authored
test(html): cover the tag shapes a {% template writes (#22183)
* test(html): cover the tag shapes a `{%` template writes
The suite drove one spelling of one block. It drives the tight and the
whitespace-control ones too now, a `{% for %}` over a list, two blocks in
one tag, and what the block wraps being minified rather than echoed.
A block written against the element name is covered as the pitfall it is:
a tag name runs to the first whitespace, so `<span{%` names an element
nothing closes.
* test(html): leave the config fixture to the fix it exposed
The `{% if %}` lines around a `checked="checked"` print a tag whose bare name
fuses with the template, which is a defect in the printer rather than a case
this branch can state. They move to the change that fixes it.1 parent a302da0 commit 1d75746
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5746 | 5746 | | |
5747 | 5747 | | |
5748 | 5748 | | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
| 5752 | + | |
| 5753 | + | |
| 5754 | + | |
| 5755 | + | |
| 5756 | + | |
| 5757 | + | |
| 5758 | + | |
| 5759 | + | |
| 5760 | + | |
| 5761 | + | |
| 5762 | + | |
| 5763 | + | |
| 5764 | + | |
| 5765 | + | |
| 5766 | + | |
| 5767 | + | |
| 5768 | + | |
| 5769 | + | |
| 5770 | + | |
| 5771 | + | |
| 5772 | + | |
| 5773 | + | |
| 5774 | + | |
| 5775 | + | |
| 5776 | + | |
| 5777 | + | |
| 5778 | + | |
| 5779 | + | |
| 5780 | + | |
| 5781 | + | |
| 5782 | + | |
| 5783 | + | |
| 5784 | + | |
| 5785 | + | |
| 5786 | + | |
| 5787 | + | |
| 5788 | + | |
| 5789 | + | |
| 5790 | + | |
| 5791 | + | |
| 5792 | + | |
5749 | 5793 | | |
5750 | 5794 | | |
5751 | 5795 | | |
| |||
0 commit comments