Feature #34863 » 0001-Set-common_mark-as-default-text-formatting.patch
| config/settings.yml | ||
|---|---|---|
| 95 | 95 |
plain_text_mail: |
| 96 | 96 |
default: 0 |
| 97 | 97 |
text_formatting: |
| 98 |
default: textile
|
|
| 98 |
default: common_mark
|
|
| 99 | 99 |
cache_formatted_text: |
| 100 | 100 |
default: 0 |
| 101 | 101 |
wiki_compression: |
| test/functional/attachments_controller_test.rb | ||
|---|---|---|
| 219 | 219 |
get(:show, :params => {:id => a.id})
|
| 220 | 220 |
assert_response :success |
| 221 | 221 |
assert_equal 'text/html', @response.media_type |
| 222 |
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n\n<h2>Header 2</h2>\n\n<h3>Header 3</h3>"
|
|
| 222 |
assert_select 'div.wiki', :html => "<h1>Header 1</h1>\n<h2>Header 2</h2>\n<h3>Header 3</h3>"
|
|
| 223 | 223 |
end |
| 224 | 224 | |
| 225 | 225 |
def test_show_text_file_fromated_textile |