diff --git a/snippets/base/models.py b/snippets/base/models.py index 34c37abc2..4e46a3295 100644 --- a/snippets/base/models.py +++ b/snippets/base/models.py @@ -426,10 +426,10 @@ def render(self): ] if search_engine_identifiers: attrs.append(('data-exclude-from-search-engines', - ','.join(search_engine_identifiers))) + u','.join(search_engine_identifiers))) - attr_string = ' '.join('{0}="{1}"'.format(key, value) for key, value in - attrs) + attr_string = u' '.join(u'{0}="{1}"'.format(key, value) for key, value in + attrs) rendered_snippet = u'