Skip to content

Commit 0e0a289

Browse files
authored
feat(pygments): "can't you just..." - @nullishamy (#88)
1 parent 368c755 commit 0e0a289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-gh-pages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def postprocess_css(content: str, important: bool) -> str:
4242
declarations = [
4343
declaration
4444
for declaration in declarations
45-
if all(decl not in declaration.lower_name for decl in BANNED_DECLARATIONS)
45+
if declaration.lower_name not in BANNED_DECLARATIONS
4646
]
4747

4848
# add !important if needed

0 commit comments

Comments
 (0)