aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/rst-reader.native1
-rw-r--r--tests/rst-reader.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/rst-reader.native b/tests/rst-reader.native
index 26116b5c5..6c01dc246 100644
--- a/tests/rst-reader.native
+++ b/tests/rst-reader.native
@@ -127,6 +127,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ":",Space,Str
, Header 1 [Str "Inline",Space,Str "Markup"]
, Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ".",Space,Str "This",Space,Str "is",Space,Strong [Str "strong"],Str "."]
, Para [Str "This",Space,Str "is",Space,Str "code",Str ":",Space,Code ">",Str ",",Space,Code "$",Str ",",Space,Code "\\",Str ",",Space,Code "\\$",Str ",",Space,Code "<html>",Str "."]
+, Para [Str "This",Space,Str "is",Subscript [Str "subscripted"],Space,Str "and",Space,Str "this",Space,Str "is",Space,Superscript [Str "superscripted"],Str "."]
, Header 1 [Str "Special",Space,Str "Characters"]
, Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode",Str ":"]
, BulletList
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 4bc0d71b8..cedc7b4ae 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -250,6 +250,8 @@ This is *emphasized*. This is **strong**.
This is code: ``>``, ``$``, ``\``, ``\$``, ``<html>``.
+This is\ :sub:`subscripted` and this is :sup:`superscripted`\ .
+
Special Characters
==================