mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-14 15:49:02 +00:00
Format information into a link if possible
Fixes issue #24 (am I doing this right?) Supports HTTP(S) and IRC channels (#channel@server.com)
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<div class="col-md-1">Information:</div>
|
||||
<div class="col-md-5">
|
||||
{% if torrent.information %}
|
||||
{{ torrent.information | escape }}
|
||||
{{ torrent.information_as_link | safe }}
|
||||
{% else %}
|
||||
No information.
|
||||
{% endif%}
|
||||
|
||||
Reference in New Issue
Block a user