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>
|
<li>
|
||||||
<a target="_blank" href="{{ request.app.public_store.file_url(
|
<a target="_blank" href="{{ request.app.public_store.file_url(
|
||||||
attachment['filepath']) }}">
|
attachment['filepath']) }}">
|
||||||
{{ attachment.name -}}
|
{{- attachment.name -}}
|
||||||
</a><br />
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -173,7 +173,7 @@
|
|||||||
{% for attachment in media.attachment_files %}
|
{% for attachment in media.attachment_files %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ request.app.public_store.file_url(attachment.filepath) }}">
|
<a href="{{ request.app.public_store.file_url(attachment.filepath) }}">
|
||||||
{{ attachment.name }}
|
{{- attachment.name -}}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user