Commit 383b35d
committed
fix(directives): Guard against duplicate deprecated CSS class on multi-fixture pages
why: transform_content() walks all desc nodes in the document and
appends spf-deprecated without checking if already present. On a page
with multiple deprecated fixtures, each call re-appends to every
already-matched parent.
what:
- Add membership check before appending _CSS.DEPRECATED to parent classes1 parent d39dc62 commit 383b35d
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| |||
0 commit comments