monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Converting CSS with the wrong encoding

Open deanebarker opened this issue 1 year ago • 1 comments

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.

deanebarker avatar Mar 25 '24 02:03 deanebarker

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

snshn avatar Apr 13 '24 11:04 snshn