This commit is contained in:
parent
7dffe36423
commit
f751fcda92
@ -174,7 +174,6 @@ mod tests {
|
|||||||
let pars = pars.trim().split('\n').collect::<Vec<&str>>();
|
let pars = pars.trim().split('\n').collect::<Vec<&str>>();
|
||||||
|
|
||||||
for par in pars {
|
for par in pars {
|
||||||
println!("{par}");
|
|
||||||
let cont = parser.parse(par, &mut builder).unwrap();
|
let cont = parser.parse(par, &mut builder).unwrap();
|
||||||
if !cont {
|
if !cont {
|
||||||
break;
|
break;
|
||||||
|
@ -99,7 +99,6 @@ impl Abschnitt {
|
|||||||
fn handle_metadata(&mut self, c: &mut Peekable<Children>, builder: &mut LawBuilder) {
|
fn handle_metadata(&mut self, c: &mut Peekable<Children>, builder: &mut LawBuilder) {
|
||||||
while c.peek().is_some() {
|
while c.peek().is_some() {
|
||||||
let key = Ueberschrift::parse(c.next().unwrap(), "titel").content;
|
let key = Ueberschrift::parse(c.next().unwrap(), "titel").content;
|
||||||
println!("{key}");
|
|
||||||
|
|
||||||
// We are done with meta-data parsing
|
// We are done with meta-data parsing
|
||||||
if key == "Text" {
|
if key == "Text" {
|
||||||
|
Loading…
Reference in New Issue
Block a user