diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-10-12 03:40:47 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-10-12 03:40:47 +0000 |
| commit | 7163a044a4f9673e38f99c29f2886d42336c283e (patch) | |
| tree | 35cbfbdae8e7ec2a152ef6ba90f64436db76c039 /tests | |
| parent | 74ac66a0cbb2c61a55f6d98128272d3568b0ead5 (diff) | |
| download | pandoc-7163a044a4f9673e38f99c29f2886d42336c283e.tar.gz | |
Fix inline math parser so that \$ is allowed in math.
Resolves Issue #169.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1609 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/markdown-reader-more.native | 4 | ||||
| -rw-r--r-- | tests/markdown-reader-more.txt | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 3160f0cd3..995991a17 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -13,5 +13,7 @@ Pandoc (Meta [] [] "") , HorizontalRule , Header 2 [Str "Raw",Space,Str "HTML",Space,Str "before",Space,Str "header"] , Plain [HtmlInline "<a>",HtmlInline "</a>"] -, Header 3 [Str "my",Space,Str "header"] ] +, Header 3 [Str "my",Space,Str "header"] +, Header 2 [Str "$",Space,Str "in",Space,Str "math"] +, Para [Math InlineMath "\\$2 + \\$3"] ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index d2315046f..a7d64dde9 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -47,3 +47,7 @@ ### my header +## $ in math + +$\$2 + \$3$ + |
