Recursion limit.
This commit is contained in:
parent
43bc6225eb
commit
c5d255d357
@ -31,20 +31,14 @@ where
|
||||
{
|
||||
not(&mut context.fail_matcher)(i)?;
|
||||
if context.can_match_bold {
|
||||
// todo
|
||||
// if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) {
|
||||
// return Ok(v);
|
||||
// }
|
||||
}
|
||||
if context.can_match_link {
|
||||
// todo
|
||||
}
|
||||
alt((
|
||||
// map(
|
||||
// BoldParser::new(slf.context.fail_matcher.clone()),
|
||||
// TextElement::Bold,
|
||||
// ),
|
||||
// map(
|
||||
// LinkParser::new(slf.context.fail_matcher.clone()),
|
||||
// TextElement::Link,
|
||||
// ),
|
||||
map(span, TextElement::Span),
|
||||
map(symbol("*"), TextElement::Symbol),
|
||||
map(symbol("["), TextElement::Symbol),
|
||||
|
Loading…
Reference in New Issue
Block a user