From: Elrond Date: Mon, 3 Dec 2012 15:36:34 +0000 (+0100) Subject: Fix spacing in links to attachment files. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=13ab48a7c444ffd28a5655b8f80aa4479dcdc58a;p=mediagoblin.git Fix spacing in links to attachment files. We had """ abc.dat""" (note the apace). And this space is being rendered as a link by browsers. This looks strange, really. So fix the spacing. --- diff --git a/mediagoblin/templates/mediagoblin/edit/attachments.html b/mediagoblin/templates/mediagoblin/edit/attachments.html index 31084c30..6e7da0a1 100644 --- a/mediagoblin/templates/mediagoblin/edit/attachments.html +++ b/mediagoblin/templates/mediagoblin/edit/attachments.html @@ -46,8 +46,8 @@
  • - {{ attachment.name -}} -
    + {{- attachment.name -}} +
  • {% endfor %} diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index b870a8ae..8c2a618d 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -173,7 +173,7 @@ {% for attachment in media.attachment_files %}
  • - {{ attachment.name }} + {{- attachment.name -}}
  • {% endfor %}