Attr_ affiliated keywords should be lists of strings.

This commit is contained in:
Tom Alexander 2023-10-16 12:55:18 -04:00
parent 0aa746fb1e
commit 911634cb42
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 2 additions and 1 deletions

View File

@ -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()