mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01: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:
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
|
||||
|
||||
Reference in New Issue
Block a user