fix list instead of multi for (A)EUV
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m4s
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m4s
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user