From 527c8430fdc896011b99576df721622cf981c2df Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 29 Aug 2023 20:13:45 +0300 Subject: [styles/syntax-highlighting] Fixed submatches in comments being shown --- src/styles.css | 1 + 1 file changed, 1 insertion(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index fe11c8d..bed8e60 100644 --- a/src/styles.css +++ b/src/styles.css @@ -494,6 +494,7 @@ dt, dd { /* Syntax highlighting */ .HI-comment { color: var(--hi-comment); } +.HI-comment * { color: inherit; } /* If text inside a comment is matched, don't show it */ .HI-const { color: var(--hi-const); } .HI-string { color: var(--hi-string); } .HI-char { color: var(--hi-char); } -- cgit v1.3.1-23-gd82d