Commit 395b38c
committed
Included style attribute in early exit check
no-issue
The early exit optimization was filtering out the style attribute,
which meant HTML containing only style attributes with URLs (like
background-image: url(...)) would skip parsing entirely and not
have their URLs transformed.1 parent c4adac9 commit 395b38c
File tree
2 files changed
+4
-2
lines changed- packages/url-utils
- src/utils
- test/unit/utils
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
276 | 279 | | |
277 | 280 | | |
278 | | - | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
0 commit comments