Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting CSS with the wrong encoding #351

Open
deanebarker opened this issue Mar 25, 2024 · 1 comment
Open

Converting CSS with the wrong encoding #351

deanebarker opened this issue Mar 25, 2024 · 1 comment

Comments

@deanebarker
Copy link

deanebarker commented Mar 25, 2024

Not really an issue, just a note --

The embedded styles didn't apply to my page until I added the type attribute with encoding, like this:

<link rel="stylesheet" href="/assets/styles.css" type="text/css; charset=utf-8"/>

I think that browsers require that when loading CSS from embedded data? The CSS was encoding correctly, but the browser didn't know how to interpret it during render.

@snshn
Copy link
Member

snshn commented Apr 13, 2024

Very interesting... I will look into that and make sure it's fixed. Thank you for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants