mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Updates commonmarker to 2.3.0 (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23695 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
29872344b3
commit
320ed9c3d8
2
Gemfile
2
Gemfile
@ -46,7 +46,7 @@ end
|
||||
|
||||
# Optional CommonMark support, not for JRuby
|
||||
group :common_mark do
|
||||
gem "commonmarker", '~> 1.1.0'
|
||||
gem "commonmarker", '~> 2.3.0'
|
||||
gem 'deckar01-task_list', '2.3.2'
|
||||
end
|
||||
|
||||
|
||||
@ -33,10 +33,10 @@ module Redmine
|
||||
|
||||
def call
|
||||
html = Commonmarker.to_html(@text, options: {
|
||||
extension: extensions,
|
||||
extension: extensions,
|
||||
render: render_options,
|
||||
parse: parse_options
|
||||
}, plugins: plugins)
|
||||
}, plugins: plugins)
|
||||
|
||||
html.rstrip!
|
||||
html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user