Skip to content

Commit

Permalink
Site: Support privileged dojo markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Nov 14, 2024
1 parent f02b5cb commit 80b89e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo_plugin/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def redirect_user_socket(user, port, url_path):

def render_markdown(s):
raw_html = build_markdown(s or "")
if "dojo" in g and (g.dojo.official or g.dojo.priviliged):
if "dojo" in g and (g.dojo.official or g.dojo.privileged):
return Markup(raw_html)

markdown_tags = [
Expand Down

0 comments on commit 80b89e3

Please sign in to comment.