diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 17:17:19 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 17:17:19 -0800 |
commit | 237c10992e4cf22a8dd64b385fc44168468021c6 (patch) | |
tree | 07cef5a4395b99661cc0d2956cadefe0c5d8e896 /tests/Tests | |
parent | c423dbb5a34c2d1195020e0f0ca3aae883d0749b (diff) | |
parent | e3b4844bd77ef2cc0a288c0b5378e2569468c618 (diff) |
Merge pull request #2505 from tarleb/org-header-markup-fix
Org reader: fix markup parsing in headers
Diffstat (limited to 'tests/Tests')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index d318ea92c..f721618e5 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -540,6 +540,17 @@ tests = "* This: is not: tagged" =?> headerWith ("this-is-not-tagged", [], []) 1 "This: is not: tagged" + , "Header starting with strokeout text" =: + unlines [ "foo" + , "" + , "* +thing+ other thing" + ] =?> + mconcat [ para "foo" + , headerWith ("thing-other-thing", [], []) + 1 + ((strikeout "thing") <> " other thing") + ] + , "Comment Trees" =: unlines [ "* COMMENT A comment tree" , " Not much going on here" |