mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
[hotfix] separator renders markdown
This commit is contained in:
parent
1ea7178d17
commit
3a758900eb
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user