Skip to content

Css Inliner on data: backed urls #104

@gogromat

Description

@gogromat

Version: 4.1.dev

Bug Description

ex. background-image: url("data:image/svg+xml,...")
gives
src/Mail/CssInliner.php : 262: Unexpected 'url("data:image/svg+' at offset 887110 in CSS.

Steps To Reproduce

Inline any SVG https://peiwen.lu/project/svg-in-css and send to CssInliner

(new Message())->...->setHtmlBody((new CssInliner)->addCss($style)->inline($message))

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions