if gallery:
    element = render_to_string('gallery/inline_gallery.html', {'gallery':
        gallery})
else:
    element = ''
return self.markdown.htmlStash.store(self.unescape(element))
Disabling HTML Encoding within Output of Custom Python Markdown Extension