Added test for #256.

This commit is contained in:
John MacFarlane 2017-03-16 22:31:36 +01:00
parent f5f6ff2c75
commit 090165d714
3 changed files with 15 additions and 0 deletions

View file

@ -126,6 +126,7 @@ Extra-Source-Files:
test/bodybg.gif
test/*.native
test/command/*.md
test/command/abbrevs
test/docbook-reader.docbook
test/docbook-xref.docbook
test/html-reader.html

12
test/command/256.md Normal file
View file

@ -0,0 +1,12 @@
```
% pandoc --abbreviations=command/abbrevs -t native
Foo. bar baz h.k. and e.g. and Mr. Brown.
^D
[Para [Str "Foo.\160bar",Space,Str "baz",Space,Str "h.k.\160and",Space,Str "e.g.",Space,Str "and",Space,Str "Mr.",Space,Str "Brown."]]
```
```
% pandoc -t native
Foo. bar baz h.k. and e.g. and Mr. Brown.
^D
[Para [Str "Foo.",Space,Str "bar",Space,Str "baz",Space,Str "h.k.",Space,Str "and",Space,Str "e.g.\160and",Space,Str "Mr.\160Brown."]]
```

2
test/command/abbrevs Normal file
View file

@ -0,0 +1,2 @@
Foo.
h.k.