mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
bb46c277ca
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.
85 B
85 B
% pandoc -f djot -t html
{.foo}
- bar
^D
<ul class="foo">
<li>bar</li>
</ul>