summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-06-17 20:33:36 +0200
committerDan McGee <dan@archlinux.org>2013-07-13 17:07:16 +0200
commitfa647734a2d2f5e019285f1e0fee2cac2482f884 (patch)
tree07b2a458ab5ebb73dfef4e2586f7f740aefb5b4c /main
parente4ba546a56d3cbfb4b76508a318ae77d88bff0c7 (diff)
downloadarchweb-fa647734a2d2f5e019285f1e0fee2cac2482f884.tar.gz
archweb-fa647734a2d2f5e019285f1e0fee2cac2482f884.tar.xz
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 afad9df..e93e5bc 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