diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-10-24 15:18:42 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-10-24 15:18:42 -0700 |
commit | 8aa9e839c70cf3f2917102a7de3bd8836c719749 (patch) | |
tree | eaf91b33bcdeba8bc61e48365ec9025a05e093bd /tests | |
parent | a7150bb6b625dec9fd641dc770ab61a32e9d4e2c (diff) | |
parent | b27366780f3df7bef7f8d24540f27b50d07b596a (diff) | |
download | pandoc-8aa9e839c70cf3f2917102a7de3bd8836c719749.tar.gz |
Merge pull request #2475 from tarleb/org-paragraph-before-list
Org reader: fix paragraph/list interaction
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index b1aaaacad..2d23eaebf 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -870,6 +870,14 @@ tests = , para "orange" , para "peach" ] + + , "Recognize preceding paragraphs in non-list contexts" =: + unlines [ "CLOSED: [2015-10-19 Mon 15:03]" + , "- Note taken on [2015-10-19 Mon 13:24]" + ] =?> + mconcat [ para "CLOSED: [2015-10-19 Mon 15:03]" + , bulletList [ plain "Note taken on [2015-10-19 Mon 13:24]" ] + ] ] , testGroup "Tables" |