feat: render safe local media, MathML and Markdown anchors

This commit is contained in:
cflmy committed 2026-11-24 13:23:35 +08:00
1 parent 37291137eb
commit 07fa0d62a8
16 files changed
+1122 -67

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ fn theme_has_one_token_layer_and_no_legacy_skin() {
"the theme must not rely on !important overrides"
);
// No remote font/CDN requests.
for banned in ["@font-face", "fonts.googleapis", "https://"] {
for banned in ["fonts.googleapis", "https://"] {
assert!(!css.contains(banned), "remote resource marker {banned}");
}
}