aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-12 15:17:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-12 15:18:37 -0800
commit157936c927a6b4ea40e5f5100ed5cc7714e2b046 (patch)
treed79d33886a14ff7ada8b1a52b507e3837cc73a22 /test/command
parent11e99409cec24749df5dabeb4dca96c084ddbc75 (diff)
downloadpandoc-157936c927a6b4ea40e5f5100ed5cc7714e2b046.tar.gz
HTML writer: fix duplicate attributes on headings.
Another regression from 2.7.x. Closes #6062.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6062.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/6062.md b/test/command/6062.md
new file mode 100644
index 000000000..d4f60fcbf
--- /dev/null
+++ b/test/command/6062.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f native -t html
+[Header 1 ("section",["foo","unnumbered"],[("key","val")]) [Str "1"]]
+^D
+<h1 class="foo unnumbered" data-key="val" id="section">1</h1>
+```