From: Michael Tremer Date: Tue, 30 Jul 2019 14:37:56 +0000 (+0100) Subject: wiki: Fix example markdown for embedding images X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=210b26ca4066ec60be0a3a66a936b1ea9c1ab6eb;p=ipfire.org.git wiki: Fix example markdown for embedding images Signed-off-by: Michael Tremer --- diff --git a/src/templates/wiki/files/detail.html b/src/templates/wiki/files/detail.html index 270e1e10..523e82b6 100644 --- a/src/templates/wiki/files/detail.html +++ b/src/templates/wiki/files/detail.html @@ -42,11 +42,11 @@ {% if file.is_image() %}
{{ _("Usage") }}
-
{{{{ file.filename }}}}
+
![]({{ file.filename }})

{{ _("Or with an optional caption") }}

-
{{{{ file.filename }}|{{ _("Caption") }}}}
+
![]({{ file.filename }} "{{ _("Caption") }}")
{% end %}