mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 14:34:21 +01:00
Switch to only commonmark for now
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user