Skip to content
Snippets Groups Projects
Commit 3a1c2a44 authored by Brett Walker's avatar Brett Walker
Browse files

Use markdown DEFAULT_ENGINE

parent 2c72c13e
No related branches found
No related tags found
1 merge request!106081Use markdown DEFAULT_ENGINE
......@@ -40,7 +40,7 @@ def banzai_render_context(field)
# Banzai is less strict about authors, so don't always have an author key
context[:author] = self.author if self.respond_to?(:author)
context[:markdown_engine] = :common_mark
context[:markdown_engine] = Banzai::Filter::MarkdownFilter::DEFAULT_ENGINE
if Feature.enabled?(:personal_snippet_reference_filters, context[:author])
context[:user] = self.parent_user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment