Repository navigation
Commit 7da5084
committed
fix(html): minify an XML
Read `type` the way the HTML printer does: absent, empty or `text/css`,
so a `text/less` sheet in an SVG is left as written.
Claude-Session: https://claude.ai/code/session_01WzCD9CDRFzG1j2yQARWzLp
Co-authored-by: Alexander Akait <[email protected]><style> only when its type is CSS1 parent e1fc30b commit 7da5084
3 files changed
Lines changed: 13 additions & 0 deletions
File tree
- lib/html
- test/unitCases
- __snapshots__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
264 | 273 | | |
265 | 274 | | |
266 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3866 | 3866 | | |
3867 | 3867 | | |
3868 | 3868 | | |
| 3869 | + | |
| 3870 | + | |
3869 | 3871 | | |
3870 | 3872 | | |
3871 | 3873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
0 commit comments