mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
disable markdown as unsafe for remote content without additional filters implementation
This commit is contained in:
parent
fe608cff8f
commit
6603790aba
1 changed files with 9 additions and 3 deletions
|
|
@ -238,7 +238,9 @@
|
||||||
{{ 'Source' | trans }}
|
{{ 'Source' | trans }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ 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 }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
@ -248,7 +250,9 @@
|
||||||
{{ 'Software' | trans }}
|
{{ 'Software' | trans }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ 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 }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
@ -258,7 +262,9 @@
|
||||||
{{ 'Comment' | trans }}
|
{{ 'Comment' | trans }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ 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 }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue