Skip to content

Commit

Permalink
fix(linkify): add target option
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Dec 14, 2021
1 parent b32fd77 commit 1e4638a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/shared/src/components/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const Message: FunctionComponent<Props> = observer(
tagName="div"
options={{
defaultProtocol: 'https',
target: '_blank',
}}
>
{text}
Expand All @@ -128,6 +129,7 @@ const Message: FunctionComponent<Props> = observer(
tagName="div"
options={{
defaultProtocol: 'https',
target: '_blank',
}}
>
{text}
Expand Down

0 comments on commit 1e4638a

Please sign in to comment.