From c153e7898b2e23bf72b2dfce451a6b6aa60bbad1 Mon Sep 17 00:00:00 2001 From: Khinshan Khan Date: Sun, 25 Dec 2022 13:38:50 -0500 Subject: [PATCH 1/3] fix blockquote pseudo elements content reset --- src/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index ab6a278..1e40287 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,9 +23,10 @@ export const reset = { quotes: "none", }, "blockquote:before, blockquote:after, q:before, q:after": { - content: "", - // @ts-ignore - content: "none", + content: "''", + '@supports (content: none)': { + content: "none", + } }, table: { borderSpacing: "0", From bd1bae34e821b05b6d45856db440a5a6ce6d2041 Mon Sep 17 00:00:00 2001 From: Khinshan Khan Date: Sun, 25 Dec 2022 13:40:44 -0500 Subject: [PATCH 2/3] add default css for table border --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 1e40287..9e4d550 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,6 +29,7 @@ export const reset = { } }, table: { + borderCollapse: "collapse", borderSpacing: "0", }, }; From 664339868039b41adfb253294fbd1731abf247da Mon Sep 17 00:00:00 2001 From: Khinshan Khan Date: Sun, 25 Dec 2022 14:03:59 -0500 Subject: [PATCH 3/3] prefer double quotes for keys --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9e4d550..ee8c66f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,7 +24,7 @@ export const reset = { }, "blockquote:before, blockquote:after, q:before, q:after": { content: "''", - '@supports (content: none)': { + "@supports (content: none)": { content: "none", } },