This commit is contained in:
@ -179,7 +179,11 @@ impl Listelem {
|
||||
|
||||
let symbol = Symbol::parse(c.next().unwrap());
|
||||
|
||||
let text = c.next().unwrap().text().unwrap().into();
|
||||
let text = if let Some(c) = c.next() {
|
||||
c.text().unwrap().into()
|
||||
} else {
|
||||
String::new()
|
||||
};
|
||||
|
||||
Expect::empty(c.next());
|
||||
|
||||
|
Reference in New Issue
Block a user