diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-21 10:11:19 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-21 10:11:19 -0700 |
commit | 78bdc08de7191e81c198832b4dd62de15c549027 (patch) | |
tree | e1d4ca24a375a5537c848f444ad7280cd86ec0b8 /tests/Tests/Readers | |
parent | 0714a363c6c8c82be82586d0421821a5aa52302d (diff) | |
parent | a5eb02f6a7feb4b3dee913fd395c98736638c127 (diff) | |
download | pandoc-78bdc08de7191e81c198832b4dd62de15c549027.tar.gz |
Merge pull request #1706 from tarleb/org-symbol-entities
Org reader: parse LaTeX-style MathML entities
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index ef2f2d1ae..392388ec0 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -276,6 +276,18 @@ tests = "\\notacommand{foo}" =?> para (rawInline "latex" "\\notacommand{foo}") + , "MathML symbol in LaTeX-style" =: + "There is a hackerspace in Lübeck, Germany, called nbsp (unicode symbol: '\\nbsp')." =?> + para ("There is a hackerspace in Lübeck, Germany, called nbsp (unicode symbol: ' ').") + + , "MathML symbol in LaTeX-style, including braces" =: + "\\Aacute{}stor" =?> + para "Ástor" + + , "MathML copy sign" =: + "\\copy" =?> + para "©" + , "LaTeX citation" =: "\\cite{Coffee}" =?> let citation = Citation |