This commit is contained in:
@ -406,9 +406,6 @@ impl Ueberschrift {
|
||||
fn test(n: &Node, typ: &str) -> bool {
|
||||
n.tag_name().name() == "ueberschrift" && n.attribute("typ").unwrap() == typ
|
||||
}
|
||||
fn test_with_typ_and_content(n: &Node, typ: &str, content: &str) -> bool {
|
||||
Self::test(n, typ) && n.text().unwrap() == content
|
||||
}
|
||||
|
||||
pub(crate) fn parse(n: Node, typ: &str) -> Self {
|
||||
assert!(n.tag_name().name() == "ueberschrift");
|
||||
|
Reference in New Issue
Block a user