@@ -208,6 +208,9 @@ tests = [ testGroup "inline code"
208 , test markdownSmart "apostrophe in French"
208 , test markdownSmart "apostrophe in French"
209 ("À l'arrivée de la guerre, le thème de l'«impossibilité du socialisme»"
209 ("À l'arrivée de la guerre, le thème de l'«impossibilité du socialisme»"
210 =?> para "À l’arrivée de la guerre, le thème de l’«impossibilité du socialisme»")
210 =?> para "À l’arrivée de la guerre, le thème de l’«impossibilité du socialisme»")
211+ , test markdownSmart "apostrophe after math" $ -- issue #1909
212+ "The value of the $x$'s and the systems' condition." =?>
213+ para (text "The value of the " <> math "x" <> text "\8217s and the systems\8217 condition.")
212 , testGroup "footnotes"
215 , testGroup "footnotes"
213 [ "indent followed by newline and flush-left text" =:
216 [ "indent followed by newline and flush-left text" =: