Fix handling capitalization in macro names.
This commit is contained in:
@@ -37,13 +37,13 @@ pub(crate) fn org_macro<'b, 'g, 'r, 's>(
|
||||
remaining,
|
||||
OrgMacro {
|
||||
source: source.into(),
|
||||
macro_name: macro_name.into(),
|
||||
macro_args: macro_args
|
||||
key: macro_name.into(),
|
||||
args: macro_args
|
||||
.unwrap_or_else(|| Vec::with_capacity(0))
|
||||
.into_iter()
|
||||
.map(|arg| arg.into())
|
||||
.collect(),
|
||||
macro_value: Into::<&str>::into(macro_value),
|
||||
value: Into::<&str>::into(macro_value),
|
||||
},
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user