summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-06-17 13:33:36 -0500
committerDan McGee <dan@archlinux.org>2013-07-13 10:07:16 -0500
commitfa647734a2d2f5e019285f1e0fee2cac2482f884 (patch)
tree07b2a458ab5ebb73dfef4e2586f7f740aefb5b4c /main
parente4ba546a56d3cbfb4b76508a318ae77d88bff0c7 (diff)
Use the unicode char representation of &nbsp;
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/templatetags/pgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py
index afad9df2..e93e5bca 100644
--- a/main/templatetags/pgp.py
+++ b/main/templatetags/pgp.py
@@ -15,7 +15,7 @@ def format_key(key_id):
# normal display format is 5 groups of 4 hex chars seperated by spaces,
# double space, then 5 more groups of 4 hex chars
split = tuple(key_id[i:i+4] for i in range(0, 40, 4))
- return u'%s&nbsp; %s' % (' '.join(split[0:5]), ' '.join(split[5:10]))
+ return u'%s\u00a0 %s' % (' '.join(split[0:5]), ' '.join(split[5:10]))
return u'0x%s' % key_id
@register.simple_tag