mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
Link should be target blank
This commit is contained in:
1 parent
fd2fcb4ed9
commit
5633dd27fc
1 file changed
+1
-1
@@ -10,7 +10,7 @@ const CommentContent = ({comment}) => {
|
||||
textbreaks.map((line, i) => {
|
||||
return (
|
||||
<span key={i} className={`${name}-line`}>
|
||||
<Linkify properties={{target: '_parent'}}>
|
||||
<Linkify properties={{target: '_blank'}}>
|
||||
{line}
|
||||
</Linkify>
|
||||
<br className={`${name}-linebreak`}/>
|
||||
|
||||
Reference in new issue
Block a user