mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-29 04:01:11 +00: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:
parent
320ed9c3d8
commit
524a41eb6c
@ -32,6 +32,9 @@ module Redmine
|
|||||||
tagfilter: true,
|
tagfilter: true,
|
||||||
autolink: true,
|
autolink: true,
|
||||||
footnotes: true,
|
footnotes: true,
|
||||||
|
header_ids: nil,
|
||||||
|
tasklist: false,
|
||||||
|
shortcodes: false,
|
||||||
}.freeze,
|
}.freeze,
|
||||||
|
|
||||||
# https://github.com/gjtorikian/commonmarker#parse-options
|
# https://github.com/gjtorikian/commonmarker#parse-options
|
||||||
@ -41,6 +44,7 @@ module Redmine
|
|||||||
# https://github.com/gjtorikian/commonmarker#render-options
|
# https://github.com/gjtorikian/commonmarker#render-options
|
||||||
commonmarker_render_options: {
|
commonmarker_render_options: {
|
||||||
unsafe: true,
|
unsafe: true,
|
||||||
|
github_pre_lang: false,
|
||||||
hardbreaks: Redmine::Configuration['common_mark_enable_hardbreaks'] == true,
|
hardbreaks: Redmine::Configuration['common_mark_enable_hardbreaks'] == true,
|
||||||
}.freeze,
|
}.freeze,
|
||||||
commonmarker_plugins: {
|
commonmarker_plugins: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user