aboutsummaryrefslogtreecommitdiff
path: root/test/command/5898.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-13 10:10:55 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-13 10:10:55 -0800
commit5c0b3743becd10a08fc27459d56f8aa2153f5b3f (patch)
treea37136ee8011a5691d3976af0315d6b979eb357a /test/command/5898.md
parent791043772b1e950fe32768eaf3c247148289ebbd (diff)
downloadpandoc-5c0b3743becd10a08fc27459d56f8aa2153f5b3f.tar.gz
Ensure there's a blank line before RST tables.
Closes #5898.
Diffstat (limited to 'test/command/5898.md')
-rw-r--r--test/command/5898.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/command/5898.md b/test/command/5898.md
new file mode 100644
index 000000000..28b64460a
--- /dev/null
+++ b/test/command/5898.md
@@ -0,0 +1,36 @@
+```
+% pandoc -f html -t rst
+<html>
+ <body>
+ <ul>
+ <li>A list of stuff with a table inside
+ <table>
+ <thead>
+ <tr>
+ <th>First</th><th>Second</th><th>Third</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>First</td>
+ <td>Second</td>
+ <td>Third</td>
+ </tr>
+ </tbody>
+ </table>
+ </li>
+ <li>Another list item</li>
+ </ul>
+ </body>
+</html>
+^D
+- A list of stuff with a table inside
+
+ ===== ====== =====
+ First Second Third
+ ===== ====== =====
+ First Second Third
+ ===== ====== =====
+
+- Another list item
+```