Declare UTF-8 for the stylesheet and served text types
style.css uses non-ASCII glyphs in CSS content (panel arrow, pin). Without a declared encoding the browser can fall back to Latin-1 for the stylesheet and render them as mojibake, which happened once in the preview. @charset at the top of style.css fixes it everywhere; serve.py also sends charset=utf-8 for html/css/js/json. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
08c8445ba1
commit
f7cd4fde04
2 files changed
+9
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
@charset "UTF-8";
|
||||
:root {
|
||||
--bg: #14161a;
|
||||
--panel: #1e2229ee;
|
||||
|
||||
Reference in new issue
Block a user