From 94e4a5ec44ea3ac53a5cd69479ba716862f86c07 Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Sat, 18 Apr 2015 00:53:20 +0300 Subject: MD Reader: Test for smart `'` after inline math --- tests/Tests/Readers/Markdown.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Tests/Readers/Markdown.hs') 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" =: -- cgit v1.2.3