Commit 7faa1de
Fix: Apply type defaults to nodes without class attribute
The Types section in stylesheets was only being checked inside the
class iteration loop, meaning nodes without any class attribute would
never receive type defaults. This adds the type lookup as a fallback
after the class loop.1 parent a9de8d8 commit 7faa1de
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
| |||
0 commit comments