Skip to content

Commit

Permalink
Fix CodeBlock no line breaks copied in Firefox bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleboyHarry committed Sep 8, 2022
1 parent 275f509 commit 41ac0f0
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -39,11 +39,9 @@ export default function CodeBlockLine({
<span className={styles.codeLineContent}>{lineTokens}</span>
</>
) : (
<>
{lineTokens}
<br />
</>
lineTokens
)}
<br />
</span>
);
}

0 comments on commit 41ac0f0

Please sign in to comment.