From 9ef056d615453cd9901cf9d0226d444745625f5f Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Tue, 4 Oct 2022 19:41:07 +0000 Subject: [PATCH] Mark legacy Markdown text formatting option as deprecated (#36807). git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/preparation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/preparation.rb b/lib/redmine/preparation.rb index d006923bc..c435a9cf6 100644 --- a/lib/redmine/preparation.rb +++ b/lib/redmine/preparation.rb @@ -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 -- 2.39.5