replace markdown with common_mark

This commit is contained in:
Pavel Rosický 2025-11-03 10:42:50 +01:00
parent 00e77b9dcb
commit 6c5a74ad06

View File

@ -29,7 +29,7 @@ module DmsfFilesHelper
def render_document_content(dmsf_file, content)
if dmsf_file.markdown?
render partial: 'common/markup', locals: { markup_text_formatting: markdown_formatter, markup_text: content }
render partial: 'common/markup', locals: { markup_text_formatting: 'common_mark', markup_text: content }
elsif dmsf_file.textile?
render partial: 'common/markup', locals: { markup_text_formatting: 'textile', markup_text: content }
else