]> source.dussan.org Git - redmine.git/commitdiff
Mark legacy Markdown text formatting option as deprecated (#36807).
authorMarius Balteanu <marius.balteanu@zitec.com>
Tue, 4 Oct 2022 19:41:07 +0000 (19:41 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Tue, 4 Oct 2022 19:41:07 +0000 (19:41 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/preparation.rb

index d006923bc94a08f5eebc3eae68383e2677abd8a1..c435a9cf682ea90feaef833a9a75867f6dc43859 100644 (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