Tab
@@ -218,6 +234,7 @@ These should not be escaped: \$ \\ \> \[ \{
Third
+
Tabs and spaces
+
HTML Blocks
Simple block on one line:
foo
@@ -307,6 +325,7 @@ Blah
+
Inline Markup
This is emphasized, and so is this.
This is strong, and so is this.
@@ -317,6 +336,7 @@ Blah
So is this word.
This is code: >, $, \, \$, <html>.
+
Smart quotes, ellipses, dashes
"Hello," said the spider. "'Shelob' is my name."
'A', 'B', and 'C' are letters.
@@ -327,6 +347,7 @@ Blah
Dashes between numbers: 5-7, 255-66, 1987-1999.
Ellipses...and. . .and . . . .
+
LaTeX
- \cite[22-23]{smith.1899}
@@ -352,6 +373,7 @@ Dog & 2 \\
Cat & 1 \\ \hline
\end{tabular}
+
Special Characters
Here is some unicode:
or here: <http://example.com/>
+
Images
From "Voyage dans la Lune" by Georges Melies (1902):

Here is a movie
icon.
+
Footnotes
Here is a footnote reference, and another. This should not be a footnote reference, because it contains a space.[^my note] Here is an inline note.
This paragraph should not be part of the note, as it is not indented.
diff --git a/tests/writer.smart.html b/tests/writer.smart.html
index 508b0abf5..d5fb3da93 100644
--- a/tests/writer.smart.html
+++ b/tests/writer.smart.html
@@ -12,18 +12,28 @@
Pandoc Test Suite
This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.
+
Headers
+
+
Level 3 with emphasis
+
Level 4
+
Level 5
+
Level 1
+
Level 2 with emphasis
+
Level 3
with no blank line
+
Level 2
with no blank line
+
Paragraphs
Here’s a regular paragraph.
In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.
@@ -31,6 +41,7 @@
There should be a hard line break
here.
+
Block Quotes
E-mail style:
@@ -79,6 +90,7 @@ here.
And a following paragraph.
+
Code Blocks
Code:
---- (should be four hyphens)
@@ -95,7 +107,9 @@ this code block is indented by one tab
These should not be escaped: \$ \\ \> \[ \{
+
Lists
+
Unordered
Asterisks tight:
@@ -142,6 +156,7 @@ These should not be escaped: \$ \\ \> \[ \{
Minus 3
+
Ordered
Tight:
@@ -183,6 +198,7 @@ These should not be escaped: \$ \\ \> \[ \{
Item 3.
+
Nested
- Tab
@@ -218,6 +234,7 @@ These should not be escaped: \$ \\ \> \[ \{
Third
+
Tabs and spaces
+
HTML Blocks
Simple block on one line:
foo
@@ -307,6 +325,7 @@ Blah
+
Inline Markup
This is emphasized, and so is this.
This is strong, and so is this.
@@ -317,6 +336,7 @@ Blah
So is this word.
This is code: >, $, \, \$, <html>.
+
Smart quotes, ellipses, dashes
“Hello,” said the spider. “‘Shelob’ is my name.”
‘A’, ‘B’, and ‘C’ are letters.
@@ -327,6 +347,7 @@ Blah
Dashes between numbers: 5–7, 255–66, 1987–1999.
Ellipses…and…and … .
+
LaTeX
- \cite[22-23]{smith.1899}
@@ -352,6 +373,7 @@ Dog & 2 \\
Cat & 1 \\ \hline
\end{tabular}
+
Special Characters
Here is some unicode:
or here: <http://example.com/>
+
Images
From “Voyage dans la Lune” by Georges Melies (1902):

Here is a movie
icon.
+
Footnotes
Here is a footnote reference, and another. This should not be a footnote reference, because it contains a space.[^my note] Here is an inline note.
This paragraph should not be part of the note, as it is not indented.