We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ad1d5 commit dc0f959Copy full SHA for dc0f959
src/renderer/html_handlebars/hbs_renderer.rs
@@ -703,8 +703,8 @@ fn make_data(
703
let mut theme = Vec::new();
704
for name in &html_config.additional_theme {
705
match name {
706
- Ok(p) => theme.push(p.to_lowercase()),
707
- Err(_) => theme.push(name.to_lowercase()),
+ Ok(p) => theme.push(p.to_str().to_lowercase()),
+ Err(_) => theme.push(name.to_str().to_lowercase()),
708
}
709
710
data.insert("additional_theme".to_owned(), json!(theme));
0 commit comments