aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-08-02 10:49:01 -0700
committerJohn MacFarlane <[email protected]>2025-08-02 10:50:41 -0700
commitbb46c277cab2035fe6fe0bccf8a18f8b2f24ff0b (patch)
tree3b4a49841d31b7a7ae2b70152c0424fd3d666782 /test
parent52e28c31edd785d86212644da67808e2acc8fb0c (diff)
HTML writer: Unwrap "wrapper" divs.
Some of the readers (e.g. djot) add "wrapper" divs to hold attributes for elements that have no slot for attributes in the pandoc AST. With this change, the HTML reader "unwraps" these wrappers so that the attributes go on the intended elements. Closes #11014.
Diffstat (limited to 'test')
-rw-r--r--test/command/11014.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/command/11014.md b/test/command/11014.md
new file mode 100644
index 000000000..50187d208
--- /dev/null
+++ b/test/command/11014.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f djot -t html
+{.foo}
+- bar
+^D
+<ul class="foo">
+<li>bar</li>
+</ul>
+```