summaryrefslogtreecommitdiff
path: root/source/github-helpers/parse-backticks.tsx
diff options
context:
space:
mode:
authorGravatar yakov116 <16872793+yakov116@users.noreply.github.com> 2020-11-18 19:55:59 -0500
committerGravatar GitHub <noreply@github.com> 2020-11-18 18:55:59 -0600
commita935456acab0c7bdc021829e18ce20230e18c752 (patch)
treee61eed13a433381ba223a4ca962e904c8740fc91 /source/github-helpers/parse-backticks.tsx
parentcab33f6f47c4eef0a3bc793f2004767f34b6abe9 (diff)
downloadrefined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.gz
refined-github-a935456acab0c7bdc021829e18ce20230e18c752.tar.zst
refined-github-a935456acab0c7bdc021829e18ce20230e18c752.zip
Lint (#3723)20.11.19
Diffstat (limited to 'source/github-helpers/parse-backticks.tsx')
-rw-r--r--source/github-helpers/parse-backticks.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/github-helpers/parse-backticks.tsx b/source/github-helpers/parse-backticks.tsx
index a7a96723..6ec0b21b 100644
--- a/source/github-helpers/parse-backticks.tsx
+++ b/source/github-helpers/parse-backticks.tsx
@@ -14,9 +14,7 @@ export default function parseBackticks(description: string): DocumentFragment {
// `span.sr-only` keeps the backticks copy-pastable but invisible
fragment.append(
<span className="sr-only">`</span>,
- <code className="rgh-parse-backticks">
- {text.trim()}
- </code>,
+ <code className="rgh-parse-backticks">{text.trim()}</code>,
<span className="sr-only">`</span>
);
} else if (text.length > 0) {