Skip to content

Commit 138e68f

Browse files
committed
Merge pull request #437 from yourlabs/fix/spaces_in_choice
Fix #318: Remove extra spaces
2 parents 237ca68 + 6520c47 commit 138e68f

File tree

1 file changed

+2
-0
lines changed
  • autocomplete_light/templates/autocomplete_light/model_template

1 file changed

+2
-0
lines changed

autocomplete_light/templates/autocomplete_light/model_template/choice.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% load i18n l10n %}
22
{% load static %}
33

4+
{% spaceless %}
45
<span class="block" data-value="{{ choice.pk|unlocalize }}">
56
{{ choice }}
67
{% with choice.get_absolute_url as url %}
@@ -17,3 +18,4 @@
1718
{% endif %}
1819
{% endwith %}
1920
</span>
21+
{% endspaceless %}

0 commit comments

Comments
 (0)