Skip to content

Commit

Permalink
[hotfix] separator renders markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 25, 2017
1 parent 1ea7178 commit 3a75890
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,10 @@ class SeparatorViz(MarkupViz):
viz_type = "separator"
verbose_name = _("Separator")

def get_data(self, df):
code = markdown(self.form_data.get("code", ''))
return dict(html=code)


class WordCloudViz(BaseViz):

Expand Down

0 comments on commit 3a75890

Please sign in to comment.