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 06909a7 commit 54ad1d5Copy full SHA for 54ad1d5
src/renderer/html_handlebars/hbs_renderer.rs
@@ -702,9 +702,9 @@ fn make_data(
702
if !html_config.additional_theme.is_empty() {
703
let mut theme = Vec::new();
704
for name in &html_config.additional_theme {
705
- match name.strip_prefix(root) {
706
- Ok(p) => theme.push(p.to_str().expect("Could not convert to str")),
707
- Err(_) => theme.push(name.to_str().expect("Could not convert to str")),
+ match name {
+ Ok(p) => theme.push(p.to_lowercase()),
+ Err(_) => theme.push(name.to_lowercase()),
708
}
709
710
data.insert("additional_theme".to_owned(), json!(theme));
0 commit comments