aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-12 17:03:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-12 17:03:01 -0700
commit6d30d3e0b3b4a7005018179ff1098dd16eeb2652 (patch)
tree4b8424cc08ca1bfd4bd0074691239d8b53eba1f9 /test
parentc497d79dfddad38d46099734efbc7cd9bbcd7e7b (diff)
downloadpandoc-6d30d3e0b3b4a7005018179ff1098dd16eeb2652.tar.gz
Pass through aria- attributes to HTML5.
Also document addition of data- prefix to unknown attributes. Closes #5646.
Diffstat (limited to 'test')
-rw-r--r--test/command/5646.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/5646.md b/test/command/5646.md
new file mode 100644
index 000000000..7fe8f5a5f
--- /dev/null
+++ b/test/command/5646.md
@@ -0,0 +1,8 @@
+```
+% pandoc -t html5 -f markdown
+![test](foo){aria-describedby="barbaz"}
+^D
+<figure>
+<img src="foo" aria-describedby="barbaz" alt="" /><figcaption>test</figcaption>
+</figure>
+```