Skip to content

Using inline_css causes emoji's to render defectiveΒ #47783

@parijke

Description

@parijke

Symfony version(s) affected

6.1.5 with twig/cssinliner-extra 3.4.0

Description

{% apply inline_css %}
    <html>
    <head>
        <style>
            p { color: red; }
        </style>
    </head>
    <body>
    <p>πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡</p>
    </body>
    </html>
{% endapply %}

renders the hands as Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½Γ°οΏ½οΏ½οΏ½

How to reproduce

Here's a small repo to reproduce. go to /test/bug and see the mail. I use the mailcatcher docker instance to see the sent email

https://github.com/parijke/inlincecss-bug

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy