git.iko.soy/typeable/pandoc
on master help sign in
MD Reader: Test for smart `'` after inline math
commit94e4a5ec44ea3ac53a5cd69479ba716862f86c07 authorNikolay Yakimov <root@livid.pp.ru> dateSat 18 Apr 2015, 00:53 (12 years ago) parent2cd08b4
1 file changed+3
tests/Tests/Readers/Markdown.hs+3
tests/Tests/Readers/Markdown.hs+3
@@ -208,6 +208,9 @@ tests = [ testGroup "inline code"
208208 , test markdownSmart "apostrophe in French"
209209 ("À l'arrivée de la guerre, le thème de l'«impossibilité du socialisme»"
210210 =?> 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.")
211214 ]
212215 , testGroup "footnotes"
213216 [ "indent followed by newline and flush-left text" =: