8000 don't inherit `font` from `body` · blang/github-markdown-css@86b8356 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86b8356

Browse files
committed
don't inherit font from body
1 parent de5f4f6 commit 86b8356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function cleanupCss(str) {
7676
if (el.selectors.length === 1 && /^(?:html|body)$/.test(el.selectors[0])) {
7777
el.declarations = el.declarations.filter(function (declaration) {
7878
// remove everything from body/html other than these
79-
if (/^font|^(?:line-height|color)$|text-size-adjust$/.test(declaration.property)) {
79+
if (/^(?:line-height|color)$|text-size-adjust$/.test(declaration.property)) {
8080
return true;
8181
}
8282

0 commit comments

Comments
 (0)
0