mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 09:14:15 +00:00
Merge pull request #109 from zhangsmallchi/fix/toml-extra-string-quotes
fix: pass TOML proxy group extra string values without quotes
This commit is contained in:
1 file changed
+1
-1
@@ -88,7 +88,7 @@ namespace toml
|
||||
{
|
||||
const auto& extra_table = toml::find<toml::table>(v, "extra");
|
||||
for(const auto& [k, val] : extra_table)
|
||||
conf.Extras[k] = toml::format(val);
|
||||
conf.Extras[k] = val.is_string() ? val.as_string() : toml::format(val);
|
||||
}
|
||||
return conf;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user