mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c95e98090b
This switches the behaviour from: multipart/related multipart/alternative text/plain text/html attachment (disposition: inline, image1) attachment (disposition: attachment, file1) attachment (disposition: attachment, file2) to: multipart/mixed multipart/related multipart/alternative text/plain text/html attachment (disposition: inline, image1) attachment (disposition: attachment, file1) attachment (disposition: attachment, file2) Fixes #2686. Thanks to clemens and eGust for reviewing.
5 lines
No EOL
107 B
Text
5 lines
No EOL
107 B
Text
<h1>Inline Image</h1>
|
|
|
|
<%= image_tag attachments['logo.png'].url %>
|
|
|
|
<p>This is an image that is inline</p> |