aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-15 10:32:16 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-15 10:32:16 +0100
commit064e3f8c5534a57b5d875aad84b45b22f5c4f95a (patch)
tree22007a9d4ff15417c0c0ccedffd16b6739633b47 /tests
parentdec0ff36930f82bff23b4c1a6fef7612793bb528 (diff)
downloadpandoc-064e3f8c5534a57b5d875aad84b45b22f5c4f95a.tar.gz
Markdown writer: fixed inconsistent spacing issue.
Previously a tight bullet sublist got rendered with a blank line after, while a tight ordered sublist did not. Now we don't get the blank line in either case. Closes #3232.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.markdown1
-rw-r--r--tests/writer.opml2
-rw-r--r--tests/writer.plain1
3 files changed, 1 insertions, 3 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown
index d705bb044..f59174023 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -210,7 +210,6 @@ Here’s another:
- Fee
- Fie
- Foe
-
3. Third
Same thing but with paragraphs:
diff --git a/tests/writer.opml b/tests/writer.opml
index c10ca44c8..8b4dea3b1 100644
--- a/tests/writer.opml
+++ b/tests/writer.opml
@@ -35,7 +35,7 @@
</outline>
<outline text="Ordered" _note="Tight:&#10;&#10;1. First&#10;2. Second&#10;3. Third&#10;&#10;and:&#10;&#10;1. One&#10;2. Two&#10;3. Three&#10;&#10;Loose using tabs:&#10;&#10;1. First&#10;&#10;2. Second&#10;&#10;3. Third&#10;&#10;and using spaces:&#10;&#10;1. One&#10;&#10;2. Two&#10;&#10;3. Three&#10;&#10;Multiple paragraphs:&#10;&#10;1. Item 1, graf one.&#10;&#10; Item 1. graf two. The quick brown fox jumped over the lazy&#10; dog’s back.&#10;&#10;2. Item 2.&#10;&#10;3. Item 3.&#10;&#10;">
</outline>
- <outline text="Nested" _note="- Tab&#10; - Tab&#10; - Tab&#10;&#10;Here’s another:&#10;&#10;1. First&#10;2. Second:&#10; - Fee&#10; - Fie&#10; - Foe&#10;&#10;3. Third&#10;&#10;Same thing but with paragraphs:&#10;&#10;1. First&#10;&#10;2. Second:&#10;&#10; - Fee&#10; - Fie&#10; - Foe&#10;&#10;3. Third&#10;&#10;">
+ <outline text="Nested" _note="- Tab&#10; - Tab&#10; - Tab&#10;&#10;Here’s another:&#10;&#10;1. First&#10;2. Second:&#10; - Fee&#10; - Fie&#10; - Foe&#10;3. Third&#10;&#10;Same thing but with paragraphs:&#10;&#10;1. First&#10;&#10;2. Second:&#10;&#10; - Fee&#10; - Fie&#10; - Foe&#10;&#10;3. Third&#10;&#10;">
</outline>
<outline text="Tabs and spaces" _note="- this is a list item indented with tabs&#10;&#10;- this is a list item indented with spaces&#10;&#10; - this is an example list item indented with tabs&#10;&#10; - this is an example list item indented with spaces&#10;&#10;">
</outline>
diff --git a/tests/writer.plain b/tests/writer.plain
index a8c8f9bf9..0774e9465 100644
--- a/tests/writer.plain
+++ b/tests/writer.plain
@@ -215,7 +215,6 @@ Here’s another:
- Fee
- Fie
- Foe
-
3. Third
Same thing but with paragraphs: