This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user