Skip to content

Commit

Permalink
Fix issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster committed May 6, 2019
1 parent 853cc8c commit d821e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata/bibtex_field.rs
Expand Up @@ -6,7 +6,7 @@ pub struct BibtexField {
pub fn get_documentation(name: &str) -> Option<&'static str> {
BIBTEX_FIELDS
.iter()
.find(|field| field.name == name)
.find(|field| field.name.to_lowercase() == name.to_lowercase())
.map(|field| field.documentation)
}

Expand Down

0 comments on commit d821e55

Please sign in to comment.