Skip to content

Commit

Permalink
Merge pull request #52680 from mkzie2/mkzie2-issue/52023
Browse files Browse the repository at this point in the history
Fix text link style is not applied in code block
  • Loading branch information
stitesExpensify authored Nov 20, 2024
2 parents 410d4ce + a1ef32e commit dd76661
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function AnchorRenderer({tnode, style, key}: AnchorRendererProps) {
if (props.childTnode.tagName === 'br') {
return <Text key={props.key}>{'\n'}</Text>;
}
if (props.childTnode.type === 'text') {
if (props.childTnode.type === 'text' && props.childTnode.tagName !== 'code') {
return (
<Text
key={props.key}
Expand Down

0 comments on commit dd76661

Please sign in to comment.