Skip to content

Commit

Permalink
Switch to <span> for render_attribute tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Vetter committed Aug 22, 2013
1 parent 1195f80 commit 5928c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fancypages/templatetags/fp_block_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def render_attribute(context, attr_name, *args):
if not user.is_staff:
return unicode(value)

wrapped_attr = u'<div id="block-%d-%s">%s</div>'
wrapped_attr = u'<span id="block-%d-%s">%s</span>'
return wrapped_attr % (block.id, attr_name, unicode(value))


Expand Down

0 comments on commit 5928c4b

Please sign in to comment.