Make common_mark the default text formatting for new installations (#34863).

git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2022-10-04 19:19:15 +00:00
parent ba635eace9
commit 9fc669a888
5 changed files with 19 additions and 2 deletions

View File

@@ -219,7 +219,7 @@ class AttachmentsControllerTest < Redmine::ControllerTest
get(:show, :params => {:id => a.id})
assert_response :success
assert_equal 'text/html', @response.media_type
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n\n<h2>Header 2</h2>\n\n<h3>Header 3</h3>"
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n<h2>Header 2</h2>\n<h3>Header 3</h3>"
end
def test_show_text_file_formatted_textile