Skip to content

Commit

Permalink
try without markupsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Apr 29, 2024
1 parent e8e7967 commit 7584232
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions vanilla/templates/docs/components/accordion/react/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ The sidebar accordion, used in listing pages or as navigation, can hold multiple

## Default

<iframe
src='https://canonical.github.io/react-components/iframe.html?args=&id=accordion--default-story&viewMode=story'
width='800'
height='260'
></iframe>
<iframe
src='https://canonical.github.io/react-components/iframe.html?args=&id=accordion--default-story&viewMode=story'
width='800'
height='260'
></iframe>
## External state

Expand Down
2 changes: 1 addition & 1 deletion vanilla/webapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def global_template_context():

@app.template_filter()
def markdown(text):
return markupsafe.Markup(mistune.markdown(text))
return mistune.markdown(text)


def class_reference(component=None):
Expand Down

0 comments on commit 7584232

Please sign in to comment.