diff options
| author | John MacFarlane <[email protected]> | 2022-10-18 12:51:12 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-10-18 12:51:12 -0700 |
| commit | ff22116426af532fe758b5918436c7dc3df6e87f (patch) | |
| tree | 13a31b738ec90f447d0c0c03dbd6296c44d28302 /test | |
| parent | eff82cfe4de44a111250ce9ce3ecee2fd4d99924 (diff) | |
Revert "Markdown reader: avoid duplicate ids with auto_identifiers."
This reverts commit eff82cfe4de44a111250ce9ce3ecee2fd4d99924.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/6384.md | 8 | ||||
| -rw-r--r-- | test/command/section-divs.md | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/command/6384.md b/test/command/6384.md index 5873f433a..1be1c3e45 100644 --- a/test/command/6384.md +++ b/test/command/6384.md @@ -1,16 +1,16 @@ ``` % pandoc --wrap=preserve --file-scope command/file1.txt command/file2.txt ^D -<section id="command__file1.txt"> +<div id="command__file1.txt"> <h1 id="command__file1.txt__zed">Zed</h1> <p><a href="bar">foo</a> and <a href="#command__file1.txt__zed">Zed</a> and <a href="#command__file2.txt__zed">other Zed</a> and <a href="#command__file2.txt">other file</a> and <a href="c.md#zed">foreign Zed</a></p> -</section> -<section id="command__file2.txt"> +</div> +<div id="command__file2.txt"> <h2 id="command__file2.txt__zed">Zed</h2> <p><a href="baz">foo</a></p> -</section> +</div> ``` diff --git a/test/command/section-divs.md b/test/command/section-divs.md index d34ed3bd1..5ee28bba8 100644 --- a/test/command/section-divs.md +++ b/test/command/section-divs.md @@ -14,12 +14,12 @@ Ok ::: ^D <section id="hi" class="level1"> -<h1 id="hi-1">Hi</h1> +<h1>Hi</h1> <section id="there" class="level2"> -<h2 id="there-1">there</h2> +<h2>there</h2> </section> </section> <section id="ok" class="level1"> -<h1 id="ok-1">Ok</h1> +<h1>Ok</h1> </section> ``` |
