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:
parent
6af6bc05bb
commit
13ab48a7c4
@ -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>
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user