Skip to main content

strip_dark_variants

Function strip_dark_variants 

Source
pub(crate) fn strip_dark_variants(html: &str) -> Cow<'_, str>
Expand description

删掉深色版本,只留浅色 SVG(Feed 阅读器没有站点 CSS,不处理会同时显示两份)。