Merge pull request #15 from ahorek/markdown
replace markdown with common_mark
This commit is contained in:
commit
cb51cd99f1
@ -29,7 +29,7 @@ module DmsfFilesHelper
|
|||||||
|
|
||||||
def render_document_content(dmsf_file, content)
|
def render_document_content(dmsf_file, content)
|
||||||
if dmsf_file.markdown?
|
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?
|
elsif dmsf_file.textile?
|
||||||
render partial: 'common/markup', locals: { markup_text_formatting: 'textile', markup_text: content }
|
render partial: 'common/markup', locals: { markup_text_formatting: 'textile', markup_text: content }
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user