mirror of
https://github.com/zoriya/flood.git
synced 2026-06-03 11:16:36 +00:00
TorrentGeneralInfo: drop leading and trailing whitespaces from comment (#674)
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ const TorrentGeneralInfo: FC = observer(() => {
|
||||
<Trans id="torrents.details.general.comment" />
|
||||
</td>
|
||||
<td className="torrent-details__detail__value">
|
||||
{torrent.comment ? <LinkedText text={torrent.comment} /> : VALUE_NOT_AVAILABLE}
|
||||
{torrent.comment ? <LinkedText text={torrent.comment.trim()} /> : VALUE_NOT_AVAILABLE}
|
||||
</td>
|
||||
</tr>
|
||||
<tr className="torrent-details__table__heading">
|
||||
|
||||
Reference in New Issue
Block a user