summaryrefslogtreecommitdiff
path: root/tests/writer.docbook
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-07-15 20:41:27 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-07-15 20:41:27 +0000
commit7c35c0bc253c3ca15c29adf3309f08a42b99127c (patch)
tree7e991fb37e7866a48533aa23892287a61949596a /tests/writer.docbook
parent235e41f2464afbee31463f0edcd3a6ca579b7cfb (diff)
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
Diffstat (limited to 'tests/writer.docbook')
-rw-r--r--tests/writer.docbook5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/writer.docbook b/tests/writer.docbook
index e8f963b58..424141cc9 100644
--- a/tests/writer.docbook
+++ b/tests/writer.docbook
@@ -904,6 +904,11 @@ These should not be escaped: \$ \\ \&gt; \[ \{
</listitem>
<listitem>
<para>
+ Shoes ($20) and socks ($5).
+ </para>
+ </listitem>
+ <listitem>
+ <para>
Escaped <literal>$</literal>: $73
<emphasis>this should be emphasized</emphasis> 23$.
</para>