Skip to content

Commit

Permalink
Instead of truncating invalid URLs on display, display and wrap cleanly.
Browse files Browse the repository at this point in the history
  • Loading branch information
TkTech committed Feb 13, 2017
1 parent 2b1ede3 commit 6bb8e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/package/resource_read.html
Expand Up @@ -55,7 +55,7 @@
{% if res.url and h.is_url(res.url) %}
<p class="muted ellipsis">{{ _('URL:') }} <a class="resource-url-analytics" href="{{ res.url }}" title="{{ res.url }}">{{ res.url }}</a></p>
{% elif res.url %}
<p class="muted ellipsis">{{ _('URL:') }} {{ res.url }}</p>
<p class="muted break-word">{{ _('URL:') }} {{ res.url }}</p>
{% endif %}
{% endblock %}
<div class="prose notes" property="rdfs:label">
Expand Down

0 comments on commit 6bb8e41

Please sign in to comment.