Skip to content

Commit

Permalink
Editor: ensure whitespace is displayed as special character
Browse files Browse the repository at this point in the history
Fixes #5156.
  • Loading branch information
julen committed Aug 29, 2016
1 parent a96ca93 commit 07104c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pootle/templates/editor/units/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@
data-string="{{ specialchar }}"
title="{% trans 'Insert this symbol into the editor' %}">{{ specialchar }}</a>
{% else %}
<span class="extraspace"> </span>
<a class="editor-specialchar js-editor-copytext"
data-string="{{ specialchar }}"
title="{% trans 'Insert space symbol into the editor' %}">&nbsp;</a>
{% endif %}
{% endfor %}
</div>
Expand Down

0 comments on commit 07104c7

Please sign in to comment.