aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-27 20:18:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-27 20:19:04 -0700
commitfce3ebb8e023d0f9fd5756503e9264b05571b75a (patch)
treea23229ad8363d9d6c8557bac2c55155126999553 /tests
parent177533d3f803f3d50881a63a50d5faf62432ac44 (diff)
downloadpandoc-fce3ebb8e023d0f9fd5756503e9264b05571b75a.tar.gz
Plain writer: don't use symbols for super/subscript.
Simplified code by using plainExtensions from Options. Closes #2237.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.plain6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/writer.plain b/tests/writer.plain
index 0332a747b..ba476f21d 100644
--- a/tests/writer.plain
+++ b/tests/writer.plain
@@ -449,9 +449,9 @@ This is code: >, $, \, \$, <html>.
~~This is _strikeout_.~~
-Superscripts: a^bc^d a^_hello_^ a^hello there^.
+Superscripts: abcd a_hello_ ahello there.
-Subscripts: H~2~O, H~23~O, H~many of them~O.
+Subscripts: H2O, H23O, Hmany of themO.
These should not be superscripts or subscripts, because of the unescaped
spaces: a^b c^d, a~b c~d.
@@ -494,7 +494,7 @@ LATEX
- p-Tree
- Here’s some display math:
$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
-- Here’s one that has a line break in it: α + ω × x^2^.
+- Here’s one that has a line break in it: α + ω × x2.
These shouldn’t be math: