Skip to content

Commit b39f0de

Browse files
committed
Fix a code example about embedding images in emails with CSS styles
1 parent 91bb847 commit b39f0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ images inside the HTML contents::
472472
->html('<img src="cid:logo"> ... <img src="cid:footer-signature"> ...')
473473

474474
// use the same syntax for images included as CSS background images
475-
->html('... <div style="background-image: url(cid:footer-signature)"> ... </div> ...')
475+
->html('... <div style="background: url(cid:footer-signature)"> ... </div> ...')
476476
;
477477

478478
.. versionadded:: 6.1

0 commit comments

Comments
 (0)