aboutsummaryrefslogtreecommitdiff
path: root/test/command/4677.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-05-30 09:24:52 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-05-30 09:24:52 -0700
commit252ab9b77323230fa58e3b877101b061d77f673c (patch)
tree25615912841442661ffaf0318080b7d23a4f60b8 /test/command/4677.md
parent1100bfc0e67954760c0c1767018404bf0129dd01 (diff)
downloadpandoc-252ab9b77323230fa58e3b877101b061d77f673c.tar.gz
Markdown writer: preserve `implicit_figures` with attributes...
...even if `implicit_attributes` is not set, by rendering in raw HTML. Fixes #4677.
Diffstat (limited to 'test/command/4677.md')
-rw-r--r--test/command/4677.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/4677.md b/test/command/4677.md
new file mode 100644
index 000000000..3ca8add9d
--- /dev/null
+++ b/test/command/4677.md
@@ -0,0 +1,7 @@
+```
+% echo '![Caption](img.png){#img:1}' | pandoc --to "markdown-bracketed_spans-fenced_divs-link_attributes-simple_tables-multiline_tables-grid_tables-pipe_tables-fenced_code_attributes-markdown_in_html_blocks-table_captions-smart"
+^D
+<figure>
+<img src="img.png" alt="Caption" id="img:1" /><figcaption>Caption</figcaption>
+</figure>
+```