From fa647734a2d2f5e019285f1e0fee2cac2482f884 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 17 Jun 2013 13:33:36 -0500 Subject: Use the unicode char representation of   Signed-off-by: Dan McGee --- main/templatetags/pgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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  %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 -- cgit v1.2.3-24-g4f1b