aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.native
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-23 04:25:09 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-23 04:25:09 +0000
commitf11360f50e9104bb6ac203c14ec7f02c5b844a96 (patch)
tree106ad85af184e727147c7aa682cd4f94f4b13577 /tests/writer.native
parente29e5c5944723074f11b1b8a54f7123971a82f6b (diff)
downloadpandoc-f11360f50e9104bb6ac203c14ec7f02c5b844a96.tar.gz
Added new rule for enhanced markdown ordered lists: if the list marker
is a capital letter followed by a period (including a single-letter capital roman numeral), then it must be followed by at least two spaces. The point of this is to avoid accidentally treating people's initials as list markers: a paragraph may begin: B. Russell was an English philosopher. and this shouldn't be treated as a list. Modified Markdown reader and README documentation. Added a test case. git-svn-id: https://pandoc.googlecode.com/svn/trunk@880 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.native')
-rw-r--r--tests/writer.native1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/writer.native b/tests/writer.native
index 9950341c4..3566c3ebf 100644
--- a/tests/writer.native
+++ b/tests/writer.native
@@ -180,6 +180,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
] ] ]
, Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
, Para [Str "M",Str ".",Str "A",Str ".",Space,Str "2007"]
+, Para [Str "B",Str ".",Space,Str "Williams"]
, HorizontalRule
, Header 1 [Str "Definition",Space,Str "Lists"]
, Para [Str "Tight",Space,Str "using",Space,Str "spaces:"]