diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-12-03 15:10:13 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-12-03 15:10:13 -0800 |
commit | 4060df6891bf38090de90081c081e80be1565193 (patch) | |
tree | dad806f4ec959106d7561897200321d839916702 /test/command | |
parent | 80e86109a2a27518c022b94b54dbc00578787bbc (diff) | |
download | pandoc-4060df6891bf38090de90081c081e80be1565193.tar.gz |
Markdown writer: include needed whitespace after HTML figure.
We use HTML for a figure in markdown dialects that can't
represent it natively.
Closes #5121.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5121.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/5121.md b/test/command/5121.md new file mode 100644 index 000000000..9003cdfec --- /dev/null +++ b/test/command/5121.md @@ -0,0 +1,13 @@ +``` +% pandoc -f markdown -t markdown_strict +![My caption](./my-figure.jpg){width=500px} + +## Header 2 +^D +<figure> +<img src="./my-figure.jpg" alt="My caption" width="500" /><figcaption>My caption</figcaption> +</figure> + +Header 2 +-------- +``` |