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:
TheAMM
2017-05-13 23:40:53 +03:00
parent 03bac92088
commit 00a0327b19
2 changed files with 26 additions and 1 deletions

View File

@@ -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%}