Feature #34863 » 0001-Set-common_mark-as-default-text-formatting.patch
| config/settings.yml | ||
|---|---|---|
|
plain_text_mail:
|
||
|
default: 0
|
||
|
text_formatting:
|
||
|
default: textile
|
||
|
default: common_mark
|
||
|
cache_formatted_text:
|
||
|
default: 0
|
||
|
wiki_compression:
|
||
| test/functional/attachments_controller_test.rb | ||
|---|---|---|
|
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_fromated_textile
|
||