mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Replaces two more occurrences of CommonMarker (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23251 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5851f65bb8
commit
d951636a01
@ -408,7 +408,7 @@ module Redmine
|
||||
|
||||
WikiFormatting.map do |format|
|
||||
format.register :textile
|
||||
if Object.const_defined?(:CommonMarker)
|
||||
if Object.const_defined?(:Commonmarker)
|
||||
format.register :common_mark, label: 'CommonMark Markdown (GitHub Flavored)'
|
||||
end
|
||||
end
|
||||
|
||||
@ -1669,7 +1669,7 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
end
|
||||
end
|
||||
|
||||
if Object.const_defined?(:CommonMarker)
|
||||
if Object.const_defined?(:Commonmarker)
|
||||
def test_toc_with_markdown_formatting_should_be_parsed
|
||||
with_settings :text_formatting => 'common_mark' do
|
||||
assert_select_in textilizable("{{toc}}\n\n# Heading"), 'ul.toc li', :text => 'Heading'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user