Skip to content

Commit

Permalink
parser: condense.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 16, 2024
1 parent c95f799 commit 25d7077
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2130,11 +2130,7 @@ impl<'a, 'o, 'c> Parser<'a, 'o, 'c> {
}
}
}
NodeValue::Link(..) | NodeValue::Image(..) => {
this_bracket = true;
break;
}
NodeValue::WikiLink(..) => {
NodeValue::Link(..) | NodeValue::Image(..) | NodeValue::WikiLink(..) => {
this_bracket = true;
break;
}
Expand Down

0 comments on commit 25d7077

Please sign in to comment.