prefix html_tag_attributes with space
@@ -84,7 +84,9 @@ class StrideElementBase(object):
@property
def html_tag_attributes(self):
attributes = self.plugin_class.get_html_tag_attributes(self)
- return format_html_join(' ', '{0}="{1}"', ((attr, val) for attr, val in attributes.items() if val))
+ joined = format_html_join(' ', '{0}="{1}"', ((attr, val) for attr, val in attributes.items() if val))
+ if joined:
+ return mark_safe(' ' + joined)
class TextStrideElement(object):
