Fix spacing in links to attachment files.

We had """<a href="abc.dat"> abc.dat</a>""" (note the
apace).  And this space is being rendered as a link by
browsers.  This looks strange, really.

So fix the spacing.
This commit is contained in:
Elrond 2012-12-03 16:36:34 +01:00
parent 6af6bc05bb
commit 13ab48a7c4
2 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@
<li>
<a target="_blank" href="{{ request.app.public_store.file_url(
attachment['filepath']) }}">
{{ attachment.name -}}
</a><br />
{{- attachment.name -}}
</a>
</li>
{% endfor %}
</ul>

View File

@ -173,7 +173,7 @@
{% for attachment in media.attachment_files %}
<li>
<a href="{{ request.app.public_store.file_url(attachment.filepath) }}">
{{ attachment.name }}
{{- attachment.name -}}
</a>
</li>
{% endfor %}