diff --git a/templates/default/torrent/info.html.twig b/templates/default/torrent/info.html.twig index c674b7f..a7aadd9 100644 --- a/templates/default/torrent/info.html.twig +++ b/templates/default/torrent/info.html.twig @@ -238,7 +238,9 @@ {{ 'Source' | trans }} - {{ file.source | url_to_markdown | markdown_to_html }} + {# disable markdown as unsafe for unfiltered content #} + {#{{ file.source | url_to_markdown | markdown_to_html }}#} + {{ file.source }} {% endif %} @@ -248,7 +250,9 @@ {{ 'Software' | trans }} - {{ file.software | url_to_markdown | markdown_to_html }} + {# disable markdown as unsafe for unfiltered content #} + {#{{ file.software | url_to_markdown | markdown_to_html }}#} + {{ file.software }} {% endif %} @@ -258,7 +262,9 @@ {{ 'Comment' | trans }} - {{ file.comment | url_to_markdown | markdown_to_html }} + {# disable markdown as unsafe for unfiltered content #} + {#{{ file.comment | url_to_markdown | markdown_to_html }}#} + {{ file.comment }} {% endif %}