Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 140ecee

Browse files
committed
fix(theming): fix CSS with nested rules parsing when registering a theme
Replace the regex used to split the CSS string with a function that takes into account nested rules. Fixes #9869
2 parents 768c6cc + b4d528d commit 140ecee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/services/theming/theming.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,4 +965,4 @@ describe('$mdThemeProvider with custom styles that include multiple nested rules
965965
// Find the string containing nested rules in the head tag.
966966
expect(document.head.innerHTML).toContain(compiledStyles);
967967
});
968-
});
968+
});

0 commit comments

Comments
 (0)