Update test case 1.

This commit is contained in:
Tom Alexander 2023-04-17 19:45:50 -04:00
parent 49be5ae7b1
commit 89040c51a6
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 9 additions and 24 deletions

View File

@ -64,25 +64,16 @@ This test interleaves the opening and closing of each element container to see w
| Footnote Definition | Section | First | First | First | - | - |
| Plain List | Section | Second | Second | Second | - | First |
* Possible solutions
** Create tiers of exit matchers
- Document level (sections/headlines)
- Greater Block / Dynamic Block
- Remaining element containers
- Object containers
*** What if we ignore exit matchers of lower tiers
**** Test Case 1
** Greater blocks, drawers, and dynamic blocks disable plain list exit matcher
*** Test Case 1
#+begin_src org
# A plain list containing a greater block that contains a drawer
1. foo
,#+begin_center
:drawername:
:end:
,#+end_center
2. bar
:drawername:
:end:
baz
,#+end_center
#+end_src
** Parse out headlines first
Then go through elements parsing them in-order

View File

@ -1,13 +1,7 @@
# A plain list containing a greater block that contains a drawer
1. foo
#+begin_center
:drawername:
2. bar
:end:
baz
#+end_center
2. bar
:drawername:
:end: