From 0620e8103f574c9724d5fcf5b546c1a3c0f0ef64 Mon Sep 17 00:00:00 2001 From: LEI Zongmin Date: Mon, 12 Oct 2026 01:59:00 +0800 Subject: [PATCH] =?UTF-8?q?chore(webview):=20=E7=A7=BB=E9=99=A4=20T5DIAG?= =?UTF-8?q?=20=E4=B8=B4=E6=97=B6=E8=AF=8A=E6=96=AD=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=88=E4=BF=9D=E7=95=99=20substitute=5Fcss=5Fvars=5Ftext=20?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=B7=AF=E5=BE=84=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/webview/src/async_load.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/webview/src/async_load.rs b/crates/webview/src/async_load.rs index dcbab42e5..8972655d5 100644 --- a/crates/webview/src/async_load.rs +++ b/crates/webview/src/async_load.rs @@ -1373,7 +1373,7 @@ fn substitute_css_vars_text(css: &str) -> String { substitute_var_refs(css, &props) } -fn collect_custom_props(css: &str) -> Vec<(String, String)> { +pub(crate) fn collect_custom_props(css: &str) -> Vec<(String, String)> { let mut map: Vec<(String, String)> = Vec::new(); let bytes = css.as_bytes(); let len = bytes.len();