Commit 10bc2cd
committed
fix(inline-css): stop reformatting inline style attributes
The post-process pass added a space after every `:` and `;`, which broke
URLs in inline style values (`url('https://...')` → `url('https: //...')`)
and forced visual consistency with Juice's spaced output that email
clients don't care about. Dropped the colon/semicolon rewriting and the
trailing-semicolon ensure; kept `preferUnitlessValues` (0px → 0) and
gated its walk on the option being enabled.1 parent 1d67243 commit 10bc2cd
2 files changed
Lines changed: 28 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
220 | 241 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
175 | 163 | | |
176 | 164 | | |
177 | 165 | | |
178 | 166 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 167 | + | |
| 168 | + | |
183 | 169 | | |
184 | 170 | | |
185 | 171 | | |
| |||
0 commit comments