Attr_ affiliated keywords should be lists of strings.
This commit is contained in:
parent
0aa746fb1e
commit
911634cb42
@ -151,7 +151,8 @@ fn identify_keyword_type<'g, 's>(
|
||||
) -> AffiliatedKeywordType {
|
||||
let is_multiple = ["CAPTION", "HEADER"]
|
||||
.into_iter()
|
||||
.any(|candidate| name.eq_ignore_ascii_case(candidate));
|
||||
.any(|candidate| name.eq_ignore_ascii_case(candidate))
|
||||
|| name.to_lowercase().starts_with("attr_");
|
||||
let is_parsed = global_settings
|
||||
.element_parsed_keywords
|
||||
.iter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user