add aeuv
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m26s

This commit is contained in:
2024-05-26 13:01:23 +02:00
parent 54d04625ca
commit 11743e5d1c
370 changed files with 1322 additions and 13 deletions

View File

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