fix list instead of multi for (A)EUV
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m4s

This commit is contained in:
2024-05-26 16:41:53 +02:00
parent c7711b111a
commit c056bc27ff
5 changed files with 287 additions and 280 deletions

View File

@ -357,8 +357,7 @@ pub(crate) struct AbsatzAbs {
}
impl AbsatzAbs {
pub(crate) fn test(n: &Node) -> bool {
n.tag_name().name() == "absatz"
&& (n.attribute("typ").unwrap() == "abs" || n.attribute("typ").unwrap() == "erltext")
n.tag_name().name() == "absatz" && n.attribute("typ").unwrap() == "abs"
}
pub(crate) fn parse(n: Node) -> Self {
assert!(Self::test(&n));