def render_richtext(plugin, **kwargs): """ Return the text of the rich text plugin as a safe string (``mark_safe``) """ return mark_safe(plugin.text)