aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/command/4635.md4
-rw-r--r--test/command/5099.md13
-rw-r--r--test/command/md-abbrevs.md11
3 files changed, 15 insertions, 13 deletions
diff --git a/test/command/4635.md b/test/command/4635.md
index 320b83956..ad9af9c67 100644
--- a/test/command/4635.md
+++ b/test/command/4635.md
@@ -19,7 +19,7 @@ foo)
cf.
foo
^D
-[Para [Str "cf.\160foo"]]
+[Para [Str "cf.",SoftBreak,Str "foo"]]
```
```
@@ -27,5 +27,5 @@ foo
a cf.
foo
^D
-[Para [Str "a",SoftBreak,Str "cf.\160foo"]]
+[Para [Str "a",Space,Str "cf.",SoftBreak,Str "foo"]]
```
diff --git a/test/command/5099.md b/test/command/5099.md
new file mode 100644
index 000000000..ab49b9a59
--- /dev/null
+++ b/test/command/5099.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t native
+(@citation
+^D
+[Para [Str "(",Cite [Citation {citationId = "citation", citationPrefix = [], citationSuffix = [], citationMode = AuthorInText, citationNoteNum = 0, citationHash = 0}] [Str "@citation"]]]
+```
+
+```
+% pandoc -t native
+('asd')
+^D
+[Para [Str "(",Quoted SingleQuote [Str "asd"],Str ")"]]
+```
diff --git a/test/command/md-abbrevs.md b/test/command/md-abbrevs.md
index 15f4d6a9a..15ab8a728 100644
--- a/test/command/md-abbrevs.md
+++ b/test/command/md-abbrevs.md
@@ -9,17 +9,6 @@ Mr. Bob
[Para [Str "Mr.\160Bob"]]
```
-Here pandoc readjusts the softbreak so that the nonbreaking
-space can be inserted:
-
-```
-% pandoc -t native
-Hi Mr.
-Bob
-^D
-[Para [Str "Hi",SoftBreak,Str "Mr.\160Bob"]]
-```
-
If you don't want this to happen you can escape the period:
```