Recursion limit.

feature_matrix
Tom Alexander 2 years ago
parent 43bc6225eb
commit c5d255d357
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -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…
Cancel
Save