Index: django/utils/html.py
===================================================================
--- django/utils/html.py	(revision 7424)
+++ django/utils/html.py	(working copy)
@@ -59,7 +59,10 @@
 
 def strip_spaces_between_tags(value):
     """Returns the given HTML with spaces between tags removed."""
-    return re.sub(r'>\s+<', '><', force_unicode(value))
+    value = re.sub(r'>\s+<', '><', force_unicode(value))
+    # Re-introduce the space between '/a>' and '<a ' adjacent anchor tags that enclose text
+    # This is necessarily complex in order to avoid anchor tags between, say, 2 images having a space added    
+    return re.sub(r'(\w)<\/a><a(\s+[^>]*)>(?=\w)', r'\1</a> <a\2>', force_unicode(value))
 strip_spaces_between_tags = allow_lazy(strip_spaces_between_tags, unicode)
 
 def strip_entities(value):
