From 48d6890cf7fecf78e9de63571e9b8c2eb6913624 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Fri, 29 May 2020 17:04:04 -0400 Subject: [PATCH] Switch to only commonmark for now --- CTFd/utils/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CTFd/utils/__init__.py b/CTFd/utils/__init__.py index 5198b42c..8d47b9d6 100644 --- a/CTFd/utils/__init__.py +++ b/CTFd/utils/__init__.py @@ -1,4 +1,5 @@ import cmarkgfm +from cmarkgfm.cmark import Options as MarkdownOptions import six from flask import current_app as app @@ -13,7 +14,7 @@ else: text_type = str binary_type = bytes -markdown = cmarkgfm.github_flavored_markdown_to_html +markdown = cmarkgfm.markdown_to_html def get_app_config(key, default=None):