Support GitHub-flavored Markdown
This commit is contained in:
@ -50,7 +50,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def render_markdown(markdown)
|
||||
ActionController::Base.helpers.sanitize Kramdown::Document.new(markdown).to_html.strip
|
||||
ActionController::Base.helpers.sanitize Kramdown::Document.new(markdown, input: 'GFM', hard_wrap: false).to_html.strip
|
||||
end
|
||||
|
||||
def row(options = {}, &)
|
||||
|
Reference in New Issue
Block a user