[core] Sanitiser: Colours::Dark for the dark reader (backgrounds out, colours lifted to 4.5 : 1, rule borders, theme links, colours_changed)
This commit is contained in:
+3
-1
@@ -176,7 +176,9 @@ fn original_html(original: &Parsed) -> String {
|
||||
})
|
||||
.collect();
|
||||
match &original.html {
|
||||
Some(html) => sanitize(html, &SanitizeOptions { load_remote_images: false, inline_images }).html,
|
||||
Some(html) => {
|
||||
sanitize(html, &SanitizeOptions { load_remote_images: false, inline_images, ..Default::default() }).html
|
||||
}
|
||||
None => text_to_html(original.text.as_deref().unwrap_or("")),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user