Add a comment about a shortcoming.
This commit is contained in:
parent
d7f0a02bb8
commit
7023fb4617
@ -27,6 +27,7 @@ pub fn greater_block<'r, 's>(
|
||||
context: Context<'r, 's>,
|
||||
input: &'s str,
|
||||
) -> Res<&'s str, GreaterBlock<'s>> {
|
||||
// TODO: Not handling indentation before start of block
|
||||
let (remaining, (_begin, name)) = tuple((
|
||||
tag_no_case("#+begin_"),
|
||||
verify(name, |name: &str| match name.to_lowercase().as_str() {
|
||||
@ -44,6 +45,7 @@ pub fn greater_block<'r, 's>(
|
||||
|
||||
let element_matcher = parser_with_context!(element)(&parser_context);
|
||||
let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context);
|
||||
// TODO: Not handling nested greater blocks
|
||||
let (remaining, (children, _exit_contents)) =
|
||||
many_till(element_matcher, exit_matcher)(remaining)?;
|
||||
let (remaining, _end) = greater_block_end(&parser_context, remaining)?;
|
||||
|
Loading…
Reference in New Issue
Block a user