aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-21 14:39:21 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-21 14:43:14 +0100
commit430e2db9baa222dbf87ea664ec2d995640817b70 (patch)
tree7979df0c5aed2d7d4e102fdde137d91404d70623 /test
parentdaf8d1db18efcfbac31afd6a2323411b93ce1b62 (diff)
downloadpandoc-430e2db9baa222dbf87ea664ec2d995640817b70.tar.gz
Improve rendering of superscript in plain output.
We now handle a few non digit characters (+, -, =, parentheses) for which there are superscripted unicode characters. Closes #3518.
Diffstat (limited to 'test')
-rw-r--r--test/command/3518.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/3518.md b/test/command/3518.md
new file mode 100644
index 000000000..ec3322192
--- /dev/null
+++ b/test/command/3518.md
@@ -0,0 +1,6 @@
+```
+pandoc -f latex -t plain
+$\alpha^2 \cdot \alpha^{2+3} \equiv \alpha^7$
+^D
+α² ⋅ α² ⁺ ³ ≡ α⁷
+```