Fix Bug 47237

This commit is contained in:
ShimaginAndrey 2021-04-21 14:46:02 +03:00
parent f8d0499d22
commit c6b68ab7c6

View file

@ -718,7 +718,9 @@ const CommentList = inject("storeComments", "storeAppOptions")(observer(({storeC
</div>
<div slot='footer'>
{comment.quote && <div className='comment-quote'>{sliceQuote(comment.quote)}</div>}
<div className='comment-text'><pre>{comment.comment}</pre></div>
<div className='comment-text'>{ (comment.comment).includes('https://')?
<a onClick={() => window.open(comment.comment)}>{comment.comment}</a> :
<pre>{comment.comment}</pre>}</div>
{comment.replies.length > 0 &&
<ul className='reply-list'>
{comment.replies.map((reply, indexReply) => {