summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-17 18:55:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-17 18:55:35 -0700
commitfb143be038810f7265f6254177437c23e54222ca (patch)
treeb122c0b2d4eb0b9ccd74bef4513d80e0d979cf4c /tests
parent9ad336f586542cd8af30f2e16d2c935fb0f97a3e (diff)
parent4229cf2d92faf5774fe1a3a9c89a5de885cf75cd (diff)
Merge pull request #2092 from lierdakil/issue1909
MD Reader: Smart apostrophe after inline math
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Markdown.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index 03884a8e5..6c8e9f306 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -208,6 +208,9 @@ tests = [ testGroup "inline code"
, test markdownSmart "apostrophe in French"
("À l'arrivée de la guerre, le thème de l'«impossibilité du socialisme»"
=?> para "À l’arrivée de la guerre, le thème de l’«impossibilité du socialisme»")
+ , test markdownSmart "apostrophe after math" $ -- issue #1909
+ "The value of the $x$'s and the systems' condition." =?>
+ para (text "The value of the " <> math "x" <> text "\8217s and the systems\8217 condition.")
]
, testGroup "footnotes"
[ "indent followed by newline and flush-left text" =: