diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2016-05-09 17:50:27 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2016-05-09 19:06:04 +0200 |
commit | 10a809f1260945b61cae6aa8912399ad83051552 (patch) | |
tree | 8dfb9ead3652a18ca393a9ac050e6f047c657bb2 /tests/Tests/Readers | |
parent | 21d1a3b57cc37cc8c13eaf24faf0743259afdb9a (diff) | |
download | pandoc-10a809f1260945b61cae6aa8912399ad83051552.tar.gz |
Org reader: fix inline-LaTeX regression
The last fix for whitespace handling of inline LaTeX commands was
incorrect, preventing correct recognition of inline LaTeX commands which
contain spaces. This fix ensures that only trailing whitespace is cut
off.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r-- | tests/Tests/Readers/Org.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index 3fab92e53..17682fb32 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -308,6 +308,10 @@ tests = "\\textit{Emphasised}" =?> para (emph "Emphasised") + , "Inline LaTeX command with spaces" =: + "\\emph{Emphasis mine}" =?> + para (emph "Emphasis mine") + , "Inline LaTeX math symbol" =: "\\tau" =?> para (emph "τ") |