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.
<li>
<a target="_blank" href="{{ request.app.public_store.file_url(
attachment['filepath']) }}">
- {{ attachment.name -}}
- </a><br />
+ {{- attachment.name -}}
+ </a>
</li>
{% endfor %}
</ul>
{% for attachment in media.attachment_files %}
<li>
<a href="{{ request.app.public_store.file_url(attachment.filepath) }}">
- {{ attachment.name }}
+ {{- attachment.name -}}
</a>
</li>
{% endfor %}