different svg renderer

This commit is contained in:
elvis
2025-11-03 03:56:51 +01:00
parent 7c73fd6ed3
commit 62545cb800
3 changed files with 23 additions and 19 deletions

View File

@ -2532,8 +2532,7 @@ fn process_template(
Ok(svg) => svg,
Err(e) => anyhow::bail!(e),
};
let raw = svg.into_raw();
*to_ret = Some(BasicValue::SaveBytes { path, value: raw });
*to_ret = Some(BasicValue::SaveBytes { path, value: svg });
},
| (BasicValue::Path { .. }, _) => {
anyhow::bail!("Not an svg");