From 7c35c0bc253c3ca15c29adf3309f08a42b99127c Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Tue, 15 Jul 2008 20:41:27 +0000 Subject: Fixed bug in Markdown parser: regular $s triggering math mode. For example: "shoes ($20) and socks ($5)." The fix consists in two new restrictions: + the $ that ends a math span may not be directly followed by a digit. + no blank lines may be included within a math span. Thanks to Joseph Reagle for noticing the bug. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1326 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.docbook | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/writer.docbook') diff --git a/tests/writer.docbook b/tests/writer.docbook index e8f963b58..424141cc9 100644 --- a/tests/writer.docbook +++ b/tests/writer.docbook @@ -902,6 +902,11 @@ These should not be escaped: \$ \\ \> \[ \{ worked if <quote>lot</quote> is emphasized.) </para> </listitem> + <listitem> + <para> + Shoes ($20) and socks ($5). + </para> + </listitem> <listitem> <para> Escaped <literal>$</literal>: $73 -- cgit v1.2.3