1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Mark legacy Markdown text formatting option as deprecated (#36807).

git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-10-04 19:41:07 +00:00
parent 9fc669a888
commit 9ef056d615

View File

@ -395,7 +395,7 @@ module Redmine
WikiFormatting.map do |format|
format.register :textile
format.register :markdown if Object.const_defined?(:Redcarpet)
format.register :markdown, label: 'Markdown (deprecated)' if Object.const_defined?(:Redcarpet)
if Object.const_defined?(:CommonMarker)
format.register :common_mark, label: 'CommonMark Markdown (GitHub Flavored)'
end