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