Skip to content

Commit dc0f959

Browse files
committed
Update hbs_renderer.rs
1 parent 54ad1d5 commit dc0f959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/html_handlebars/hbs_renderer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,8 @@ fn make_data(
703703
let mut theme = Vec::new();
704704
for name in &html_config.additional_theme {
705705
match name {
706-
Ok(p) => theme.push(p.to_lowercase()),
707-
Err(_) => theme.push(name.to_lowercase()),
706+
Ok(p) => theme.push(p.to_str().to_lowercase()),
707+
Err(_) => theme.push(name.to_str().to_lowercase()),
708708
}
709709
}
710710
data.insert("additional_theme".to_owned(), json!(theme));

0 commit comments

Comments
 (0)