diff options
| author | John MacFarlane <[email protected]> | 2025-07-22 20:43:48 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-07-22 20:44:19 -0700 |
| commit | edd48fceb14a9b4df27d35e2ac5face06a498a67 (patch) | |
| tree | 37143ffb8c4f1c5922135bf077c936862cbf4db5 /test | |
| parent | a45878ff1ecb1af4a508833c05f0922f6ef28498 (diff) | |
Djot writer: fix duplicate attributes before section headings.
Closes #10984.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/10984.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/10984.md b/test/command/10984.md new file mode 100644 index 000000000..b718d959d --- /dev/null +++ b/test/command/10984.md @@ -0,0 +1,16 @@ + ``` + % pandoc -f html -t djot +<h1 id="foo" class="a b">Hi</hi> +^D +{#foo .a .b} +# Hi +``` + +In this one the id is suppressed by the djot writer because +the same one would be automatically generated by the djot reader: +``` +% pandoc -f html -t djot +<h2 id="Introduction">Introduction</h2> +^D +## Introduction +``` |
