Issue #16765 has been updated by chellgouda (Mitchell Gould).

ruby -v set to ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-darwin18]
File ruby_2020-04-06-170518_Mitchells-MacBook-Pro-3.crash added

doctype html
html
  head
    meta(charset='utf-8')
    meta(http-equiv="Content-Type" content="text/html")

    scss:
      .footer-box:after {
        content: '';
        width: 100%;
        height: 100%;
        opacity: 0.1;
        position: absolute;
        top: 0;
        left: 0;
        background: image-url( 'logo/gould_logo_black.png' ) no-repeat bottom 15% right -15%;
        background-size: 30%;
      }

This causes a crash

Using slim 4.0.1
Using slim-rails 3.2.0
Using sassc 2.2.1

Rails 5.2.4.2

----------------------------------------
Bug #16765: Crash when use sass image-url in email layout
https://bugs.ruby-lang.org/issues/16765#change-84944

* Author: chellgouda (Mitchell Gould)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-darwin18]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
I have the following layout I use for my emails:

mailer.html.slim

doctype html
html
  head
    meta(charset='utf-8')
    meta(http-equiv="Content-Type" content="text/html")



    css:

---Files--------------------------------
ruby_2020-04-06-170518_Mitchells-MacBook-Pro-3.crash (72.3 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>