mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
Disable header_ids, tasklist, shortcodes extensions and github_pre_lang render option that are now enabled by default in commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23696 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -32,6 +32,9 @@ module Redmine
|
||||
tagfilter: true,
|
||||
autolink: true,
|
||||
footnotes: true,
|
||||
header_ids: nil,
|
||||
tasklist: false,
|
||||
shortcodes: false,
|
||||
}.freeze,
|
||||
|
||||
# https://github.com/gjtorikian/commonmarker#parse-options
|
||||
@@ -41,6 +44,7 @@ module Redmine
|
||||
# https://github.com/gjtorikian/commonmarker#render-options
|
||||
commonmarker_render_options: {
|
||||
unsafe: true,
|
||||
github_pre_lang: false,
|
||||
hardbreaks: Redmine::Configuration['common_mark_enable_hardbreaks'] == true,
|
||||
}.freeze,
|
||||
commonmarker_plugins: {
|
||||
|
||||
Reference in New Issue
Block a user