Merged r15431 to r15435 (#22924, #22925, #22926).

git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15440 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-06-04 07:24:45 +00:00
parent 961c0e0de9
commit 8c09e330d4
9 changed files with 88 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ RAW
attachment = Attachment.generate!(:filename => 'café.jpg')
with_settings :text_formatting => 'markdown' do
assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="">),
assert_include %(<img src="/attachments/download/#{attachment.id}/caf%C3%A9.jpg" alt="" />),
textilizable("![](café.jpg)", :attachments => [attachment])
end
end